diff options
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/generators/resource_generator_test.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/railties/test/generators/resource_generator_test.rb b/railties/test/generators/resource_generator_test.rb index f73169c6fb..581d80d60e 100644 --- a/railties/test/generators/resource_generator_test.rb +++ b/railties/test/generators/resource_generator_test.rb @@ -85,10 +85,4 @@ class ResourceGeneratorTest < Rails::Generators::TestCase assert_no_match(/resources :accounts$/, route) end end - - def test_api_only_does_not_generate_edit_route - run_generator ["Account", "--api"] - - assert_file "config/routes.rb", /resources :accounts, except: \[:new, :edit\]$/ - end end |