aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2014-07-31 08:56:22 -0300
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2014-07-31 08:56:22 -0300
commit4e09c509afcfdae2c1cee7dabebcf8a0bf20bce0 (patch)
tree36056a28d6673285f70e4bf43f726584ff1ff2c7
parentc1dadf3d62d39fa8b1d837b71a3831d4edb46e0a (diff)
downloadrails-4e09c509afcfdae2c1cee7dabebcf8a0bf20bce0.tar.gz
rails-4e09c509afcfdae2c1cee7dabebcf8a0bf20bce0.tar.bz2
rails-4e09c509afcfdae2c1cee7dabebcf8a0bf20bce0.zip
Fix assertion arguments order
-rw-r--r--activesupport/test/subscriber_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/subscriber_test.rb b/activesupport/test/subscriber_test.rb
index 21e4ba0cee..a88d8d9eba 100644
--- a/activesupport/test/subscriber_test.rb
+++ b/activesupport/test/subscriber_test.rb
@@ -49,6 +49,6 @@ class SubscriberTest < ActiveSupport::TestCase
def test_does_not_attach_private_methods
ActiveSupport::Notifications.instrument("private_party.doodle")
- assert_equal TestSubscriber.events, []
+ assert_equal [], TestSubscriber.events
end
end