Skip to content
Browse files

Test typecasting on instance rather than class itself

  • Loading branch information...
1 parent 2b6e305 commit 91d7b6fc11ec64a8e29c43cb576e497792dd68fa @akshay-vishnoi akshay-vishnoi committed May 3, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/adapters/sqlite3/quoting_test.rb
View
2 activerecord/test/cases/adapters/sqlite3/quoting_test.rb
@@ -100,7 +100,7 @@ def id
def quoted_id
"'zomg'"
end
- }
+ }.new
assert_raise(TypeError) { @conn.type_cast(quoted_id_obj, nil) }
end
end

0 comments on commit 91d7b6f

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