lib/minitest/rails/assertions/action_cable.rb in minitest-rails-6.0.2 vs lib/minitest/rails/assertions/action_cable.rb in minitest-rails-6.1.0
- old
+ new
@@ -23,11 +23,11 @@
# ActionCable.server.broadcast 'messages', { text: 'how are you?' }
# end
# end
#
# See also Minitest::Rails::Expectations::ActionCable::TestHelper#must_have_broadcasts
- # See https://api.rubyonrails.org/v6.0/classes/ActionCable/TestHelper.html#method-i-assert_broadcasts
+ # See https://api.rubyonrails.org/v6.1/classes/ActionCable/TestHelper.html#method-i-assert_broadcasts
#
# :method: assert_broadcasts
# :call-seq: assert_broadcasts(stream, number)
##
@@ -50,11 +50,11 @@
# Note: This assertion is simply a shortcut for:
#
# assert_broadcasts 'messages', 0, &block
#
# See also Minitest::Rails::Expectations::ActionCable::TestHelper#wont_have_broadcasts
- # See https://api.rubyonrails.org/v6.0/classes/ActionCable/TestHelper.html#method-i-assert_no_broadcasts
+ # See https://api.rubyonrails.org/v6.1/classes/ActionCable/TestHelper.html#method-i-assert_no_broadcasts
#
# :method: refute_broadcasts
# :call-seq: refute_broadcasts(stream, &block)
alias refute_broadcasts assert_no_broadcasts
@@ -73,11 +73,11 @@
# ActionCable.server.broadcast 'messages', text: 'hello'
# end
# end
#
# See also Minitest::Rails::Expectations::ActionCable::TestHelper#must_broadcast_on
- # See https://api.rubyonrails.org/v6.0/classes/ActionCable/TestHelper.html#method-i-assert_broadcast_on
+ # See https://api.rubyonrails.org/v6.1/classes/ActionCable/TestHelper.html#method-i-assert_broadcast_on
#
# :method: assert_broadcast_on
# :call-seq: assert_broadcast_on(stream, data)
end
@@ -106,11 +106,11 @@
# ActionCable.server.broadcast 'messages', { text: 'how are you?' }
# end
# end
#
# See also Minitest::Rails::Expectations::ActionCable::TestHelper#must_have_broadcasts
- # See https://api.rubyonrails.org/v6.0/classes/ActionCable/TestHelper.html#method-i-assert_broadcasts
+ # See https://api.rubyonrails.org/v6.1/classes/ActionCable/TestHelper.html#method-i-assert_broadcasts
#
# :method: assert_broadcasts
# :call-seq: assert_broadcasts(stream, number)
##
@@ -133,11 +133,11 @@
# Note: This assertion is simply a shortcut for:
#
# assert_broadcasts 'messages', 0, &block
#
# See also Minitest::Rails::Expectations::ActionCable::TestHelper#wont_have_broadcasts
- # See https://api.rubyonrails.org/v6.0/classes/ActionCable/TestHelper.html#method-i-assert_no_broadcasts
+ # See https://api.rubyonrails.org/v6.1/classes/ActionCable/TestHelper.html#method-i-assert_no_broadcasts
#
# :method: refute_broadcasts
# :call-seq: refute_broadcasts(stream, &block)
alias refute_broadcasts assert_no_broadcasts
@@ -156,11 +156,11 @@
# ActionCable.server.broadcast 'messages', text: 'hello'
# end
# end
#
# See also Minitest::Rails::Expectations::ActionCable::TestHelper#must_broadcast_on
- # See https://api.rubyonrails.org/v6.0/classes/ActionCable/TestHelper.html#method-i-assert_broadcast_on
+ # See https://api.rubyonrails.org/v6.1/classes/ActionCable/TestHelper.html#method-i-assert_broadcast_on
#
# :method: assert_broadcast_on
# :call-seq: assert_broadcast_on(stream, data)
##
@@ -170,11 +170,11 @@
# subscribe
# assert_no_streams
# end
#
# See also Minitest::Rails::Expectations::ActionCable::Channel#wont_have_streams
- # See https://api.rubyonrails.org/v6.0/classes/ActionCable/Channel/TestCase/Behavior.html#method-i-assert_no_streams
+ # See https://api.rubyonrails.org/v6.1/classes/ActionCable/Channel/TestCase/Behavior.html#method-i-assert_no_streams
#
# :method: refute_streams
alias refute_streams assert_no_streams
##
@@ -184,11 +184,11 @@
# subscribe
# assert_has_stream 'messages'
# end
#
# See also Minitest::Rails::Expectations::ActionCable::Channel#must_have_streams
- # See https://api.rubyonrails.org/v6.0/classes/ActionCable/Channel/TestCase/Behavior.html#method-i-assert_has_stream
+ # See https://api.rubyonrails.org/v6.1/classes/ActionCable/Channel/TestCase/Behavior.html#method-i-assert_has_stream
#
# :method: assert_has_stream
# :call-seq: assert_has_stream(stream)
##
@@ -198,11 +198,11 @@
# subscribe id: 42
# assert_has_stream_for User.find(42)
# end
#
# See also Minitest::Rails::Expectations::ActionCable::Channel#must_have_stream_for
- # See https://api.rubyonrails.org/v6.0/classes/ActionCable/Channel/TestCase/Behavior.html#method-i-assert_has_stream_for
+ # See https://api.rubyonrails.org/v6.1/classes/ActionCable/Channel/TestCase/Behavior.html#method-i-assert_has_stream_for
#
# :method: assert_has_stream_for
# :call-seq: assert_has_stream_for(object)
end
@@ -224,9 +224,9 @@
# assert_reject_connection { connect }
# end
# end
#
# See also Minitest::Rails::Expectations::ActionCable#must_reject_connection
- # See https://api.rubyonrails.org/v6.0/classes/ActionCable/Connection/Assertions.html#method-i-assert_reject_connection
+ # See https://api.rubyonrails.org/v6.1/classes/ActionCable/Connection/Assertions.html#method-i-assert_reject_connection
#
# :method: assert_reject_connection
end