aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Koziarski <michael@koziarski.com>2008-08-29 15:23:28 +0200
committerMichael Koziarski <michael@koziarski.com>2008-08-29 15:27:34 +0200
commit6769d824f9c20812a0e6cd6e0c19742984b2450e (patch)
treef3dcb43ece76ab91ac0024905c592178a70784a3
parentdb116a2ed688d36570f412a42e9fc33dcbca56c7 (diff)
downloadrails-6769d824f9c20812a0e6cd6e0c19742984b2450e.tar.gz
rails-6769d824f9c20812a0e6cd6e0c19742984b2450e.tar.bz2
rails-6769d824f9c20812a0e6cd6e0c19742984b2450e.zip
Fix parentheses warnings
-rw-r--r--activerecord/test/cases/named_scope_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/named_scope_test.rb b/activerecord/test/cases/named_scope_test.rb
index 4fe7f4f5b9..acc3b3016a 100644
--- a/activerecord/test/cases/named_scope_test.rb
+++ b/activerecord/test/cases/named_scope_test.rb
@@ -250,7 +250,7 @@ class NamedScopeTest < ActiveRecord::TestCase
end
def test_rand_should_select_a_random_object_from_proxy
- assert Topic.approved.rand.is_a? Topic
+ assert Topic.approved.rand.is_a?(Topic)
end
def test_should_use_where_in_query_for_named_scope