We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a973141 commit 2143be2Copy full SHA for 2143be2
ruby_event_store/spec/projection_spec.rb
@@ -214,12 +214,6 @@ module RubyEventStore
214
end.to raise_error(ArgumentError, "No handler block given")
215
end
216
217
- it "does not support anonymous events" do
218
- expect do
219
- Projection.init.on(Class.new) { |_state, _event| }
220
- end.to raise_error(ArgumentError, "Anonymous class is missing name")
221
- end
222
-
223
specify do
224
expect(repository).not_to receive(:read)
225
state = Projection.init.call(event_store.read)
0 commit comments