Skip to content
Browse files

Fix test failure for ruby 1.8. needs to take a string rather than an integer in ruby 1.8.
  • Loading branch information...
1 parent 00e0b25 commit cbdfaf2e2982cea5bc416dbc8b77f2fb84a7c19e @dylanahsmith dylanahsmith committed Feb 8, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/relation/where_test.rb
2 activerecord/test/cases/relation/where_test.rb
@@ -52,7 +52,7 @@ def test_where_with_boolean_for_string_column
def test_where_with_decimal_for_string_column
- count = Post.where(:title =>
gilfefer added a note Jul 11, 2013

why is it like this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
+ count = Post.where(:title =>'0')).count
assert_equal 0, count

0 comments on commit cbdfaf2

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