Permalink
Browse files

Change the string to use in test case.

  • Loading branch information...
1 parent 7638004 commit 37802dd51ec1e1b29743be2a3d02106f930e04ba @kennyj committed Mar 6, 2012
View
2 activerecord/test/cases/adapters/mysql/mysql_adapter_test.rb
@@ -52,7 +52,7 @@ def test_tables_quoting
flunk
rescue => e
# assertion for *quoted* database properly
- assert_match(/Unknown database 'foo-bar': SHOW TABLES IN `foo-bar`/, e.inspect)
+ assert_match(/database 'foo-bar'/, e.inspect)
end
end
View
2 activerecord/test/cases/adapters/mysql2/schema_test.rb
@@ -42,7 +42,7 @@ def test_tables_quoting
flunk
rescue => e
# assertion for *quoted* database properly
- assert_match(/Unknown database 'foo-bar': SHOW TABLES IN `foo-bar`/, e.inspect)
+ assert_match(/database 'foo-bar'/, e.inspect)
end
end

0 comments on commit 37802dd

Please sign in to comment.