aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
authorEileen Uchitelle <eileencodes@gmail.com>2018-08-29 12:08:23 -0400
committerEileen Uchitelle <eileencodes@gmail.com>2018-08-29 12:08:23 -0400
commita64dba1dc59efec39080b8e142894060e2e8d0bb (patch)
tree883134878cc7f430e2a8a4c2ff524ce69ea9ad11 /railties/test
parentc91f1482a178cc82fe37101a04a97cb697ca5d7d (diff)
downloadrails-a64dba1dc59efec39080b8e142894060e2e8d0bb.tar.gz
rails-a64dba1dc59efec39080b8e142894060e2e8d0bb.tar.bz2
rails-a64dba1dc59efec39080b8e142894060e2e8d0bb.zip
Remove this conditional
I removed the argument so I should remove the conditional too.
Diffstat (limited to 'railties/test')
-rw-r--r--railties/test/application/rake/dbs_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/application/rake/dbs_test.rb b/railties/test/application/rake/dbs_test.rb
index 50eb9c5d24..14976c2cf8 100644
--- a/railties/test/application/rake/dbs_test.rb
+++ b/railties/test/application/rake/dbs_test.rb
@@ -31,7 +31,7 @@ module ApplicationTests
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)