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:
commit
58a55595ca
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue