aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/test
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2016-02-23 13:59:49 -0300
committerRafael França <rafaelmfranca@gmail.com>2016-02-23 13:59:49 -0300
commit3adc35aefa7e5f58fe0e7d6678daeaa5e47dd7df (patch)
tree79520ac71677f154f91bbe29d11199ba5ab8de0f /actioncable/test
parent79887593c18919fed49f441d64236362cb755872 (diff)
parentd96550b53ecf3816dff3cb0d68dc976028dc9351 (diff)
downloadrails-3adc35aefa7e5f58fe0e7d6678daeaa5e47dd7df.tar.gz
rails-3adc35aefa7e5f58fe0e7d6678daeaa5e47dd7df.tar.bz2
rails-3adc35aefa7e5f58fe0e7d6678daeaa5e47dd7df.zip
Merge pull request #23789 from wisetara/wisetara/deprecate-args-ActiveSupport__TestCase#assert_nothing_raised-for-pr
Wisetara/deprecate args active support test case#assert nothing raised for pr
Diffstat (limited to 'actioncable/test')
-rw-r--r--actioncable/test/subscription_adapter/base_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/actioncable/test/subscription_adapter/base_test.rb b/actioncable/test/subscription_adapter/base_test.rb
index 7a7ae131e6..256dce673f 100644
--- a/actioncable/test/subscription_adapter/base_test.rb
+++ b/actioncable/test/subscription_adapter/base_test.rb
@@ -43,7 +43,7 @@ class ActionCable::SubscriptionAdapter::BaseTest < ActionCable::TestCase
assert_respond_to(SuccessAdapter.new(@server), :broadcast)
- assert_nothing_raised NotImplementedError do
+ assert_nothing_raised do
broadcast
end
end
@@ -55,7 +55,7 @@ class ActionCable::SubscriptionAdapter::BaseTest < ActionCable::TestCase
assert_respond_to(SuccessAdapter.new(@server), :subscribe)
- assert_nothing_raised NotImplementedError do
+ assert_nothing_raised do
subscribe
end
end
@@ -66,7 +66,7 @@ class ActionCable::SubscriptionAdapter::BaseTest < ActionCable::TestCase
assert_respond_to(SuccessAdapter.new(@server), :unsubscribe)
- assert_nothing_raised NotImplementedError do
+ assert_nothing_raised do
unsubscribe
end
end