diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2015-11-05 09:37:15 -0600 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2015-11-05 09:37:15 -0600 |
commit | 37fe48928e4d4b254791eb8034c20baabe06a483 (patch) | |
tree | 9d18c321ae3170ef76edfe9830b5698cade6343b /test/channel | |
parent | de64aa3440f85b74692b61f7e46a14a1a7003e56 (diff) | |
download | rails-37fe48928e4d4b254791eb8034c20baabe06a483.tar.gz rails-37fe48928e4d4b254791eb8034c20baabe06a483.tar.bz2 rails-37fe48928e4d4b254791eb8034c20baabe06a483.zip |
Rename Subscription#reject! to Subscription#reject as there's only one version of the method
Diffstat (limited to 'test/channel')
-rw-r--r-- | test/channel/rejection_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/channel/rejection_test.rb b/test/channel/rejection_test.rb index 0e9725742c..aa93396d44 100644 --- a/test/channel/rejection_test.rb +++ b/test/channel/rejection_test.rb @@ -5,7 +5,7 @@ require 'stubs/room' class ActionCable::Channel::RejectionTest < ActiveSupport::TestCase class SecretChannel < ActionCable::Channel::Base def subscribed - reject! if params[:id] > 0 + reject if params[:id] > 0 end end |