diff options
author | Jorge Bejar <jorge@wyeworks.com> | 2015-07-06 22:03:40 -0300 |
---|---|---|
committer | Jorge Bejar <jorge@wyeworks.com> | 2015-12-09 10:53:44 -0300 |
commit | f43c05bff74df90f6b8ff90f92ad9f6d7652bd09 (patch) | |
tree | 8d4320fa59e01661bdd1837c45e1fde1c2f69206 | |
parent | 83b4e9073f0852afc065ef398bd3ad9b5a6db29c (diff) | |
download | rails-f43c05bff74df90f6b8ff90f92ad9f6d7652bd09.tar.gz rails-f43c05bff74df90f6b8ff90f92ad9f6d7652bd09.tar.bz2 rails-f43c05bff74df90f6b8ff90f92ad9f6d7652bd09.zip |
Do not include web-console in Rails API apps
-rw-r--r-- | railties/test/generators/api_app_generator_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/test/generators/api_app_generator_test.rb b/railties/test/generators/api_app_generator_test.rb index be2cd3a853..b5980746bb 100644 --- a/railties/test/generators/api_app_generator_test.rb +++ b/railties/test/generators/api_app_generator_test.rb @@ -40,6 +40,8 @@ class ApiAppGeneratorTest < Rails::Generators::TestCase assert_no_match(/gem 'jbuilder'/, content) assert_no_match(/gem 'web-console'/, content) assert_match(/gem 'active_model_serializers'/, content) + + assert_no_match(/gem 'web-console'/, content) end assert_file "config/application.rb" do |content| |