diff options
author | Sean Griffin <sean@thoughtbot.com> | 2015-02-17 13:35:23 -0700 |
---|---|---|
committer | Sean Griffin <sean@thoughtbot.com> | 2015-02-17 13:35:23 -0700 |
commit | 1455c4c22feb24b0ff2cbb191afb0bd98ebf7b06 (patch) | |
tree | 563934e8d0a050c4bc01079aca604941c27682f2 /activerecord/test/cases/adapters/sqlite3 | |
parent | 4a3cb840b0c992b0f15b66274dfa7de71a38fa03 (diff) | |
download | rails-1455c4c22feb24b0ff2cbb191afb0bd98ebf7b06.tar.gz rails-1455c4c22feb24b0ff2cbb191afb0bd98ebf7b06.tar.bz2 rails-1455c4c22feb24b0ff2cbb191afb0bd98ebf7b06.zip |
`type_cast_for_database` -> `serialize`
Diffstat (limited to 'activerecord/test/cases/adapters/sqlite3')
-rw-r--r-- | activerecord/test/cases/adapters/sqlite3/quoting_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/adapters/sqlite3/quoting_test.rb b/activerecord/test/cases/adapters/sqlite3/quoting_test.rb index c1d9b7c273..243f65df98 100644 --- a/activerecord/test/cases/adapters/sqlite3/quoting_test.rb +++ b/activerecord/test/cases/adapters/sqlite3/quoting_test.rb @@ -87,7 +87,7 @@ module ActiveRecord value = "hello".encode('ascii-8bit') type = Type::String.new - assert_equal "'hello'", @conn.quote(type.type_cast_for_database(value)) + assert_equal "'hello'", @conn.quote(type.serialize(value)) end end end |