Skip to content
This repository
Browse code

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...
commit 8e6ed58e430f07a68fd54f4161daeb0eccd0e85f 1 parent 023eaf8
Toshinori Kajihara authored tenderlove committed
2  activerecord/test/cases/adapters/mysql/mysql_adapter_test.rb
@@ -58,7 +58,7 @@ def test_tables_quoting
58 58
           flunk
59 59
         rescue => e
60 60
           # assertion for *quoted* database properly
61  
-          assert_match(/Access denied for user/, e.inspect)
  61
+          assert_match(/database 'foo-bar'/, e.inspect)
62 62
         end
63 63
       end
64 64
 
2  activerecord/test/cases/adapters/mysql2/schema_test.rb
@@ -42,7 +42,7 @@ def test_tables_quoting
42 42
           flunk
43 43
         rescue => e
44 44
           # assertion for *quoted* database properly
45  
-          assert_match(/Access denied for user/, e.inspect)
  45
+          assert_match(/database 'foo-bar'/, e.inspect)
46 46
         end
47 47
       end
48 48
 

0 notes on commit 8e6ed58

Please sign in to comment.
Something went wrong with that request. Please try again.