From 37fe48928e4d4b254791eb8034c20baabe06a483 Mon Sep 17 00:00:00 2001 From: Pratik Naik Date: Thu, 5 Nov 2015 09:37:15 -0600 Subject: Rename Subscription#reject! to Subscription#reject as there's only one version of the method --- test/channel/rejection_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/channel') 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 -- cgit v1.2.3