Skip to content

Commit

Permalink
Adjust test
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszreszke committed Mar 21, 2024
1 parent 0f3f4ff commit 35d33de
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ruby_event_store/spec/client_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -852,11 +852,11 @@ module RubyEventStore
client.append(event_2, stream_name: stream_2.name)
client.append(event_3, stream_name: stream_3.name)

expect(client.search_streams("str")).to eq [stream_3, stream_2, stream_1]
expect(client.search_streams("stream-1")).to eq [stream_1]
expect(client.search_streams("stream-2")).to eq [stream_2]
expect(client.search_streams("stream-3")).to eq [stream_3]
expect(client.search_streams("stream-4")).to eq []
expect(client.search_streams("str")).to match_array [stream_3, stream_2, stream_1]
expect(client.search_streams("stream-1")).to match_array [stream_1]
expect(client.search_streams("stream-2")).to match_array [stream_2]
expect(client.search_streams("stream-3")).to match_array [stream_3]
expect(client.search_streams("stream-4")).to match_array []
end

describe "#subscribers_for" do
Expand Down

0 comments on commit 35d33de

Please sign in to comment.