diff options
author | Arun Agrawal <arunagw@gmail.com> | 2015-12-17 16:23:36 +0100 |
---|---|---|
committer | Arun Agrawal <arunagw@gmail.com> | 2015-12-17 16:42:34 +0100 |
commit | e1459c7c86363d941191551505ad083d4335b815 (patch) | |
tree | 271617372f69e204a0c3c80467098809b8e57393 /actioncable/test/connection | |
parent | 0957c8ad6722c1a82c16f70b23fe1f7cb2607ff5 (diff) | |
download | rails-e1459c7c86363d941191551505ad083d4335b815.tar.gz rails-e1459c7c86363d941191551505ad083d4335b815.tar.bz2 rails-e1459c7c86363d941191551505ad083d4335b815.zip |
Remove warnings from actioncable
Warnings coming from code and test are removed
Diffstat (limited to 'actioncable/test/connection')
-rw-r--r-- | actioncable/test/connection/cross_site_forgery_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actioncable/test/connection/cross_site_forgery_test.rb b/actioncable/test/connection/cross_site_forgery_test.rb index ede3057e30..d445e08f2a 100644 --- a/actioncable/test/connection/cross_site_forgery_test.rb +++ b/actioncable/test/connection/cross_site_forgery_test.rb @@ -57,7 +57,7 @@ class ActionCable::Connection::CrossSiteForgeryTest < ActionCable::TestCase private def assert_origin_allowed(origin) response = connect_with_origin origin - assert_equal -1, response[0] + assert_equal(-1, response[0]) end def assert_origin_not_allowed(origin) |