aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2012-12-28 20:49:41 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-12-31 13:58:52 -0300
commit5294ad82c6096edba06f4111325d6b0e6845d9f0 (patch)
treecec386a00a691b26906ce4e335f49da26ecf6938 /actionpack/test/controller
parent6c0013f7cda487de101d47376b9f1355ff1ef095 (diff)
downloadrails-5294ad82c6096edba06f4111325d6b0e6845d9f0.tar.gz
rails-5294ad82c6096edba06f4111325d6b0e6845d9f0.tar.bz2
rails-5294ad82c6096edba06f4111325d6b0e6845d9f0.zip
Alias refute methods to assert_not and perfer assert_not on tests
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r--actionpack/test/controller/live_stream_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/live_stream_test.rb b/actionpack/test/controller/live_stream_test.rb
index 20e433d1ec..3b1a07d7af 100644
--- a/actionpack/test/controller/live_stream_test.rb
+++ b/actionpack/test/controller/live_stream_test.rb
@@ -40,7 +40,7 @@ module ActionController
def thread_locals
tc.assert_equal 'aaron', Thread.current[:setting]
- tc.refute_equal Thread.current.object_id, Thread.current[:originating_thread]
+ tc.assert_not_equal Thread.current.object_id, Thread.current[:originating_thread]
response.headers['Content-Type'] = 'text/event-stream'
%w{ hello world }.each do |word|