Skip to content

Commit 3e85bd2

Browse files
authored
Remove accidentally commited spec and excess ws
1 parent 86db479 commit 3e85bd2

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

lib/rspec/rails/matchers/action_cable.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ module ActionCable
4747
# expect {
4848
# ActionCable.server.broadcast "messages", text: 'Hi!'
4949
# }.to have_broadcasted_to("messages").with(text: 'Hi!')
50-
5150
def have_broadcasted_to(target = nil)
5251
check_action_cable_adapter
5352

spec/rspec/rails/matchers/action_cable/have_broadcasted_to_spec.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -246,9 +246,6 @@ def broadcast(stream, msg)
246246
it "has an appropriate description including the expected contents when qualified with `#with`" do
247247
expect(have_broadcasted_to("my_stream").from_channel(channel).with("hello world").description).to eq("have broadcasted exactly 1 messages to my_stream with \"hello world\"")
248248
end
249-
250-
it { expect("foo").to eq("foo") }
251-
252249
it "has an appropriate description including the matcher's description when qualified with `#with` and a composable matcher" do
253250
expect(
254251
have_broadcasted_to("my_stream")

0 commit comments

Comments
 (0)