Browse files

Change the string to use in test case.

Conflicts:

	activerecord/test/cases/adapters/mysql/mysql_adapter_test.rb
	activerecord/test/cases/adapters/mysql2/schema_test.rb
  • Loading branch information...
1 parent 023eaf8 commit 8e6ed58e430f07a68fd54f4161daeb0eccd0e85f @kennyj kennyj committed with tenderlove Mar 7, 2012
View
2 activerecord/test/cases/adapters/mysql/mysql_adapter_test.rb
@@ -58,7 +58,7 @@ def test_tables_quoting
flunk
rescue => e
# assertion for *quoted* database properly
- assert_match(/Access denied for user/, 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(/Access denied for user/, e.inspect)
+ assert_match(/database 'foo-bar'/, e.inspect)
end
end

0 comments on commit 8e6ed58

Please sign in to comment.