Skip to content

Commit be37859

Browse files
mostlyobviousfidelmpraglowski
committed
Fix unintended deprecation warning
Co-authored-by: Szymon Fiedler <[email protected]> Co-authored-by: Mirosław Pragłowski <[email protected]>
1 parent 55cf839 commit be37859

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ruby_event_store-rspec/spec/spec_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
BazEvent = Class.new(RubyEventStore::Event)
1212

1313
class TestAggregate
14-
include AggregateRoot.with_strategy(-> { AggregateRoot::DefaultApplyStrategy.new(strict: false) })
14+
include AggregateRoot.with(strategy: -> { AggregateRoot::DefaultApplyStrategy.new(strict: false) })
1515

1616
def foo
1717
apply(FooEvent.new)

0 commit comments

Comments
 (0)