File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -16,24 +16,24 @@ module RailsEventStore
1616
1717 specify "ancestors" do
1818 with_test_handler do |handler |
19- ancestors = handler . ancestors
19+ base_modules = handler . included_modules
2020 handler . prepend AsyncHandler
2121
22- expect ( handler . ancestors - ancestors ) . to have_attributes ( size : 2 )
22+ expect ( handler . included_modules - base_modules ) . to have_attributes ( size : 2 )
2323 end
2424
2525 with_test_handler do |handler |
26- ancestors = handler . ancestors
26+ base_modules = handler . included_modules
2727 handler . prepend AsyncHandler . with_defaults
2828
29- expect ( handler . ancestors - ancestors ) . to have_attributes ( size : 1 )
29+ expect ( handler . included_modules - base_modules ) . to have_attributes ( size : 1 )
3030 end
3131
3232 with_test_handler do |handler |
33- ancestors = handler . ancestors
33+ base_modules = handler . included_modules
3434 handler . prepend AsyncHandler . with ( event_store_locator : -> { another_event_store } )
3535
36- expect ( handler . ancestors - ancestors ) . to have_attributes ( size : 1 )
36+ expect ( handler . included_modules - base_modules ) . to have_attributes ( size : 1 )
3737 end
3838 end
3939
You can’t perform that action at this time.
0 commit comments