1
0
Fork 0
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:
Ryuta Kamizono 2020-02-01 09:02:45 +09:00
parent 6a6e3f6efe
commit db8e957c84

View file

@ -214,7 +214,7 @@ class MigrationTest < ActiveRecord::TestCase
else
assert_match(/check that column\/key exists/, error.message)
end
elsif
elsif current_adapter?(:PostgreSQLAdapter)
assert_match(/column \"last_name\" of relation \"people\" does not exist/, error.message)
end
end