Skip to content
Browse files

Make sure the reflection test is passing a String to the reflection

cache.
  • Loading branch information...
1 parent e7630b6 commit 213ef567ae2ab92f1e1145cd385da0c5b9534422 @laurocaetano laurocaetano committed Apr 9, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/reflection_test.rb
View
2 activerecord/test/cases/reflection_test.rb
@@ -192,7 +192,7 @@ def test_association_reflection_in_modules
end
def test_reflection_should_not_raise_error_when_compared_to_other_object
- assert_nothing_raised { Firm.reflections[:clients] == Object.new }
+ assert_nothing_raised { Firm.reflections['clients'] == Object.new }
end
def test_has_many_through_reflection

0 comments on commit 213ef56

Please sign in to comment.
Something went wrong with that request. Please try again.