提交 a64dba1d 编写于 作者: E Eileen Uchitelle

Remove this conditional

I removed the argument so I should remove the conditional too.
上级 c91f1482
......@@ -31,7 +31,7 @@ def db_create_and_drop(expected_database)
output = rails("db:create")
assert_match(/Created database/, output)
assert File.exist?(expected_database)
assert_equal expected_database, ActiveRecord::Base.connection_config[:database] if environment_loaded
assert_equal expected_database, ActiveRecord::Base.connection_config[:database]
output = rails("db:drop")
assert_match(/Dropped database/, output)
assert_not File.exist?(expected_database)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册