diff options
author | Xavier Noria <fxn@hashref.com> | 2016-02-29 23:34:00 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2016-02-29 23:36:35 +0100 |
commit | b04d07337fd7bc17e88500e9d6bcd361885a45f8 (patch) | |
tree | 8ebe08658e4c548286ae49f003e3b9fb42f61cf0 /railties/test | |
parent | af2c427c390b87ea20986f1e82b498068800d775 (diff) | |
download | rails-b04d07337fd7bc17e88500e9d6bcd361885a45f8.tar.gz rails-b04d07337fd7bc17e88500e9d6bcd361885a45f8.tar.bz2 rails-b04d07337fd7bc17e88500e9d6bcd361885a45f8.zip |
generate config/spring.rb in new applications [closes #18874]
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/generators/app_generator_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb index 63655044da..a86f190bb2 100644 --- a/railties/test/generators/app_generator_test.rb +++ b/railties/test/generators/app_generator_test.rb @@ -28,6 +28,7 @@ DEFAULT_APP_FILES = %w( config/locales config/cable.yml config/puma.rb + config/spring.rb db lib lib/tasks @@ -681,6 +682,7 @@ class AppGeneratorTest < Rails::Generators::TestCase def test_skip_spring run_generator [destination_root, "--skip-spring"] + assert_no_file 'config/spring.rb' assert_file "Gemfile" do |content| assert_no_match(/spring/, content) end |