From 67bf2f41f346a20a34744f7607463e41e42189a5 Mon Sep 17 00:00:00 2001 From: Guillermo Iguaran Date: Sun, 18 Feb 2018 16:59:04 -0500 Subject: Fix test method name --- railties/test/generators/api_app_generator_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties/test') diff --git a/railties/test/generators/api_app_generator_test.rb b/railties/test/generators/api_app_generator_test.rb index 6b5a30425d..857124b23a 100644 --- a/railties/test/generators/api_app_generator_test.rb +++ b/railties/test/generators/api_app_generator_test.rb @@ -63,7 +63,7 @@ class ApiAppGeneratorTest < Rails::Generators::TestCase end end - def test_generator_if_skip_action_cable_is_given + def test_generator_if_skip_action_mailer_is_given run_generator [destination_root, "--api", "--skip-action-mailer"] assert_file "config/application.rb", /#\s+require\s+["']action_mailer\/railtie["']/ assert_file "config/environments/development.rb" do |content| -- cgit v1.2.3