Skip to content

Commit

Permalink
Test typecasting on instance rather than class itself
Browse files Browse the repository at this point in the history
  • Loading branch information
Akshay Vishnoi committed May 3, 2014
1 parent 2b6e305 commit 91d7b6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/test/cases/adapters/sqlite3/quoting_test.rb
Expand Up @@ -100,7 +100,7 @@ def id
def quoted_id
"'zomg'"
end
}
}.new
assert_raise(TypeError) { @conn.type_cast(quoted_id_obj, nil) }
end
end
Expand Down

0 comments on commit 91d7b6f

Please sign in to comment.