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 88f9876 commit fdd186cCopy full SHA for fdd186c
spec/rspec/rails/matchers/action_cable/have_stream_spec.rb
@@ -159,15 +159,15 @@ def subscribed
159
subscribe user: 42
160
161
expect {
162
- expect(subscription).to have_stream_for(StreamModel.new(31337))
+ expect(subscription).to have_stream_for(StreamModel.new(31_337))
163
}.to raise_error(/expected to have stream "broadcast:StreamModel#31337" started, but have \[\"broadcast:StreamModel#42\"\]/)
164
end
165
166
context "with negated form" do
167
it "passes" do
168
169
170
- expect(subscription).not_to have_stream_for(StreamModel.new(31337))
+ expect(subscription).not_to have_stream_for(StreamModel.new(31_337))
171
172
173
it "fails with message" do
0 commit comments