aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
authorGeorge Claghorn <george.claghorn@gmail.com>2018-04-23 16:01:16 -0500
committerGitHub <noreply@github.com>2018-04-23 16:01:16 -0500
commitef5902a2f195c2be5a4e9ad0f31003774a93aa1c (patch)
treed9366b40aa381688eb828d54628d5712bc5a1a60 /railties/test
parente970d15211a8efd7349ff0e90d44d887b85793c2 (diff)
parentf2e2cef15bdb31353aee2254ca2ab378979cc24a (diff)
downloadrails-ef5902a2f195c2be5a4e9ad0f31003774a93aa1c.tar.gz
rails-ef5902a2f195c2be5a4e9ad0f31003774a93aa1c.tar.bz2
rails-ef5902a2f195c2be5a4e9ad0f31003774a93aa1c.zip
Merge pull request #32471 from janko-m/use-image_processing-gem
Use ImageProcessing gem for ActiveStorage variants
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 d6b98eb4d5..9b80cfa406 100644
--- a/railties/test/generators/app_generator_test.rb
+++ b/railties/test/generators/app_generator_test.rb
@@ -312,7 +312,7 @@ class AppGeneratorTest < Rails::Generators::TestCase
def test_active_storage_mini_magick_gem
run_generator
- assert_file "Gemfile", /^# gem 'mini_magick'/
+ assert_file "Gemfile", /^# gem 'image_processing'/
end
def test_mini_magick_gem_when_skip_active_storage_is_given
@@ -320,7 +320,7 @@ class AppGeneratorTest < Rails::Generators::TestCase
run_generator [app_root, "--skip-active-storage"]
assert_file "#{app_root}/Gemfile" do |content|
- assert_no_match(/gem 'mini_magick'/, content)
+ assert_no_match(/gem 'image_processing'/, content)
end
end