Skip to content

Commit

Permalink
Fix test method name
Browse files Browse the repository at this point in the history
We don't use `mini_magick` directly since rails#32471.
  • Loading branch information
y-yagi committed Apr 24, 2018
1 parent 3278bca commit 7e81541
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions railties/test/generators/app_generator_test.rb
Expand Up @@ -310,12 +310,12 @@ def test_app_update_does_not_generate_action_cable_contents_when_skip_action_cab
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"]

Expand Down

0 comments on commit 7e81541

Please sign in to comment.