aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
authorclaudiob <claudiob@users.noreply.github.com>2017-12-08 07:15:08 -0800
committerclaudiob <claudiob@users.noreply.github.com>2017-12-14 22:50:30 -0800
commit74996cec93adf10e4e12e3f53479c4b3364dbb14 (patch)
tree01e9bd77f49b98a2ee53045184d61c28c1be8ee5 /railties/test
parent597b941930af87a4bfe9d1cdb05578091eb83735 (diff)
downloadrails-74996cec93adf10e4e12e3f53479c4b3364dbb14.tar.gz
rails-74996cec93adf10e4e12e3f53479c4b3364dbb14.tar.bz2
rails-74996cec93adf10e4e12e3f53479c4b3364dbb14.zip
Don't run rails active_storage:install in new apps
See #31315 for full discussion
Diffstat (limited to 'railties/test')
-rw-r--r--railties/test/generators/app_generator_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb
index 96803db838..f953f319af 100644
--- a/railties/test/generators/app_generator_test.rb
+++ b/railties/test/generators/app_generator_test.rb
@@ -854,7 +854,7 @@ class AppGeneratorTest < Rails::Generators::TestCase
template
end
- sequence = ["git init", "install", "exec spring binstub --all", "active_storage:install", "echo ran after_bundle"]
+ sequence = ["git init", "install", "exec spring binstub --all", "echo ran after_bundle"]
@sequence_step ||= 0
ensure_bundler_first = -> command, options = nil do
assert_equal sequence[@sequence_step], command, "commands should be called in sequence #{sequence}"
@@ -871,7 +871,7 @@ class AppGeneratorTest < Rails::Generators::TestCase
end
end
- assert_equal 5, @sequence_step
+ assert_equal 4, @sequence_step
end
def test_gitignore