234 broke local activities because the Activity::Context constructor callsite they rely on was not updated. Local activities were also not covered by any specs, which made it easy to miss this. This change passes the correct number of parameters to the constructor and adds a basic spec for local activity invocation.
Fixes #245
Testing
New spec: bundle exec rspec spec/unit/lib/temporal/workflow/context_spec.rb:100
Summary
234 broke local activities because the
Activity::Context
constructor callsite they rely on was not updated. Local activities were also not covered by any specs, which made it easy to miss this. This change passes the correct number of parameters to the constructor and adds a basic spec for local activity invocation.Fixes #245
Testing
New spec:
bundle exec rspec spec/unit/lib/temporal/workflow/context_spec.rb:100