diff options
author | Xavier Noria <fxn@hashref.com> | 2013-02-24 11:16:35 -0800 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2013-02-24 11:16:35 -0800 |
commit | d65376fce4ea806e489d1fb985bc9393bcd2e0e2 (patch) | |
tree | 4a4c37dc90a9bc1ad4af5192419b7717a7dc1bcc /railties/test/generators/app_generator_test.rb | |
parent | 40111c5c8afdcc53252098bf07d7174c5679c4b8 (diff) | |
parent | d3688e02ca52c0b72d3092e8498da51e06b7fc58 (diff) | |
download | rails-d65376fce4ea806e489d1fb985bc9393bcd2e0e2.tar.gz rails-d65376fce4ea806e489d1fb985bc9393bcd2e0e2.tar.bz2 rails-d65376fce4ea806e489d1fb985bc9393bcd2e0e2.zip |
Merge pull request #9400 from senny/remove_auto_explain_threshold_in_seconds
remove config.auto_explain_threshold_in_seconds
Diffstat (limited to 'railties/test/generators/app_generator_test.rb')
-rw-r--r-- | railties/test/generators/app_generator_test.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb index 83f43d1025..53618e1f4f 100644 --- a/railties/test/generators/app_generator_test.rb +++ b/railties/test/generators/app_generator_test.rb @@ -342,15 +342,6 @@ class AppGeneratorTest < Rails::Generators::TestCase end end - def test_generated_environments_file_for_auto_explain - run_generator [destination_root, "--skip-active-record"] - %w(development production).each do |env| - assert_file "config/environments/#{env}.rb" do |file| - assert_no_match %r(auto_explain_threshold_in_seconds), file - end - end - end - def test_pretend_option output = run_generator [File.join(destination_root, "myapp"), "--pretend"] assert_no_match(/run bundle install/, output) |