diff options
author | Arun Agrawal <arunagw@gmail.com> | 2013-11-01 10:39:06 +0100 |
---|---|---|
committer | Arun Agrawal <arunagw@gmail.com> | 2013-11-01 13:47:23 +0100 |
commit | c10a78124c1c32f8ce3a92888863b9b258efcc06 (patch) | |
tree | c21a5710a6a5246f838a276dd7051caf2a8892b2 /railties/test/application/rake | |
parent | 026b6daa05a5712ef84b687eb742f88feb3ca886 (diff) | |
download | rails-c10a78124c1c32f8ce3a92888863b9b258efcc06.tar.gz rails-c10a78124c1c32f8ce3a92888863b9b258efcc06.tar.bz2 rails-c10a78124c1c32f8ce3a92888863b9b258efcc06.zip |
More Warnings removed for ruby trunk
Same as 4d4ff531b8807ee88a3fc46875c7e76f613956fb
Diffstat (limited to 'railties/test/application/rake')
-rw-r--r-- | railties/test/application/rake/dbs_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/application/rake/dbs_test.rb b/railties/test/application/rake/dbs_test.rb index 9e711f25bd..4d348c6b4b 100644 --- a/railties/test/application/rake/dbs_test.rb +++ b/railties/test/application/rake/dbs_test.rb @@ -33,12 +33,12 @@ module ApplicationTests Dir.chdir(app_path) do output = `bundle exec rake db:create` assert_equal output, "" - assert File.exists?(expected[:database]) + assert File.exist?(expected[:database]) assert_equal expected[:database], ActiveRecord::Base.connection_config[:database] output = `bundle exec rake db:drop` assert_equal output, "" - assert !File.exists?(expected[:database]) + assert !File.exist?(expected[:database]) end end |