diff --git a/spec/unit/lib/temporal/activity_spec.rb b/spec/unit/lib/temporal/activity_spec.rb index 10b32677..f7dc5662 100644 --- a/spec/unit/lib/temporal/activity_spec.rb +++ b/spec/unit/lib/temporal/activity_spec.rb @@ -64,7 +64,7 @@ def execute(a, b:, c:) it 'does not raise an ArgumentError' do expect { described_class.execute_in_context(context, input) - }.not_to raise_error(ArgumentError, 'wrong number of arguments (given 2, expected 1; required keywords: b, c)') + }.not_to raise_error end it 'returns #execute result' do diff --git a/spec/unit/lib/temporal/workflow_spec.rb b/spec/unit/lib/temporal/workflow_spec.rb index 41014aae..fb8cc32a 100644 --- a/spec/unit/lib/temporal/workflow_spec.rb +++ b/spec/unit/lib/temporal/workflow_spec.rb @@ -65,7 +65,7 @@ def execute(a, b:, c:) it 'does not raise an ArgumentError' do expect { described_class.execute_in_context(ctx, input) - }.not_to raise_error(ArgumentError, 'wrong number of arguments (given 2, expected 1; required keywords: b, c)') + }.not_to raise_error end end end diff --git a/temporal.gemspec b/temporal.gemspec index 8c51adef..3cc624ab 100644 --- a/temporal.gemspec +++ b/temporal.gemspec @@ -14,6 +14,7 @@ Gem::Specification.new do |spec| spec.require_paths = ['lib'] spec.files = Dir["{lib,rbi}/**/*.*"] + %w(temporal.gemspec Gemfile LICENSE README.md) + spec.add_dependency 'base64' spec.add_dependency 'grpc' spec.add_dependency 'oj'