Permalink
Browse files

PostgreSQL: update create_database_with_encoding test also

  • Loading branch information...
1 parent 87fa9db commit a6e10ba7cdf37b7a120c78981cc034a7dc0c3991 @jeremy jeremy committed Jun 7, 2008
Showing with 2 additions and 2 deletions.
  1. +2 −2 activerecord/test/cases/active_schema_test_postgresql.rb
@@ -13,8 +13,8 @@ def teardown
end
def test_create_database_with_encoding
- assert_equal "CREATE DATABASE matt ENCODING = 'utf8'", create_database(:matt)
- assert_equal "CREATE DATABASE aimonetti ENCODING = 'latin1'", create_database(:aimonetti, :encoding => :latin1)
+ assert_equal %(CREATE DATABASE "matt" ENCODING = 'utf8'), create_database(:matt)
+ assert_equal %(CREATE DATABASE "aimonetti" ENCODING = 'latin1'), create_database(:aimonetti, :encoding => :latin1)
end
private

0 comments on commit a6e10ba

Please sign in to comment.