Skip to content

Commit

Permalink
Remove accidentally commited spec and excess ws
Browse files Browse the repository at this point in the history
  • Loading branch information
JonRowe authored Sep 7, 2024
1 parent 86db479 commit 3e85bd2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion lib/rspec/rails/matchers/action_cable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ module ActionCable
# expect {
# ActionCable.server.broadcast "messages", text: 'Hi!'
# }.to have_broadcasted_to("messages").with(text: 'Hi!')

def have_broadcasted_to(target = nil)
check_action_cable_adapter

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,6 @@ def broadcast(stream, msg)
it "has an appropriate description including the expected contents when qualified with `#with`" do
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\"")
end

it { expect("foo").to eq("foo") }

it "has an appropriate description including the matcher's description when qualified with `#with` and a composable matcher" do
expect(
have_broadcasted_to("my_stream")
Expand Down

0 comments on commit 3e85bd2

Please sign in to comment.