1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #5306 from kennyj/fix_69c7f02

Change the message string to use in  test case.
This commit is contained in:
José Valim 2012-03-08 04:00:02 -08:00
commit 58a55595ca
2 changed files with 2 additions and 2 deletions

View file

@ -52,7 +52,7 @@ module ActiveRecord
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 file

@ -42,7 +42,7 @@ module ActiveRecord
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