aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2018-04-25 07:15:44 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2018-04-25 07:15:44 +0900
commit7e815415edbe42f1df64d786a8f923a171778d64 (patch)
treeb594e0a736feb1a3e2a49184ec5c7f6228f486d5 /railties
parent3278bca8771bacbc5b9574ee202f153651178142 (diff)
downloadrails-7e815415edbe42f1df64d786a8f923a171778d64.tar.gz
rails-7e815415edbe42f1df64d786a8f923a171778d64.tar.bz2
rails-7e815415edbe42f1df64d786a8f923a171778d64.zip
Fix test method name
We don't use `mini_magick` directly since #32471.
Diffstat (limited to 'railties')
-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 9b80cfa406..ae4307d23d 100644
--- a/railties/test/generators/app_generator_test.rb
+++ b/railties/test/generators/app_generator_test.rb
@@ -310,12 +310,12 @@ class AppGeneratorTest < Rails::Generators::TestCase
end
end
- def test_active_storage_mini_magick_gem
+ def test_gem_for_active_storage
run_generator
assert_file "Gemfile", /^# gem 'image_processing'/
end
- def test_mini_magick_gem_when_skip_active_storage_is_given
+ def test_gem_for_active_storage_when_skip_active_storage_is_given
app_root = File.join(destination_root, "myapp")
run_generator [app_root, "--skip-active-storage"]