-
-
Save jonleighton/6d4d9e8339058812dc75 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# In my testing on 3-0-stable the first line passes and the second fails | |
# Should the second line really definitely ostensibly work? | |
def test_association_in_conditions | |
assert_equal companies(:first_client), Client.where(:firm_id => companies(:first_firm)).first | |
assert_equal companies(:first_client), Client.where(:firm => companies(:first_firm)).first | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment