mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix non-condition elsif
This commit is contained in:
parent
6a6e3f6efe
commit
db8e957c84
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,7 @@ class MigrationTest < ActiveRecord::TestCase
|
||||||
else
|
else
|
||||||
assert_match(/check that column\/key exists/, error.message)
|
assert_match(/check that column\/key exists/, error.message)
|
||||||
end
|
end
|
||||||
elsif
|
elsif current_adapter?(:PostgreSQLAdapter)
|
||||||
assert_match(/column \"last_name\" of relation \"people\" does not exist/, error.message)
|
assert_match(/column \"last_name\" of relation \"people\" does not exist/, error.message)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue