diff options
author | Eileen M. Uchitelle <eileencodes@gmail.com> | 2015-12-13 16:19:30 -0500 |
---|---|---|
committer | Eileen M. Uchitelle <eileencodes@gmail.com> | 2015-12-13 16:19:30 -0500 |
commit | 9712a7a12b7f9e4dcef751ceda8a73c3f4beb11f (patch) | |
tree | f12e42145656e222d1f735c3ee96903aad1ea181 /railties/test/generators/resource_generator_test.rb | |
parent | 3e65c3d3886336e9145438cdeacaf4ebec6a48b8 (diff) | |
parent | 5541d640cf455ae95544dba411ba71367cbc97ff (diff) | |
download | rails-9712a7a12b7f9e4dcef751ceda8a73c3f4beb11f.tar.gz rails-9712a7a12b7f9e4dcef751ceda8a73c3f4beb11f.tar.bz2 rails-9712a7a12b7f9e4dcef751ceda8a73c3f4beb11f.zip |
Merge pull request #22569 from seuros/remove-test-case
Controller generators should be creating IntegrationTest stubs instea…
Diffstat (limited to 'railties/test/generators/resource_generator_test.rb')
-rw-r--r-- | railties/test/generators/resource_generator_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/generators/resource_generator_test.rb b/railties/test/generators/resource_generator_test.rb index 581d80d60e..addaf83bc8 100644 --- a/railties/test/generators/resource_generator_test.rb +++ b/railties/test/generators/resource_generator_test.rb @@ -33,7 +33,7 @@ class ResourceGeneratorTest < Rails::Generators::TestCase def test_resource_controller_with_pluralized_class_name run_generator assert_file "app/controllers/accounts_controller.rb", /class AccountsController < ApplicationController/ - assert_file "test/controllers/accounts_controller_test.rb", /class AccountsControllerTest < ActionController::TestCase/ + assert_file "test/controllers/accounts_controller_test.rb", /class AccountsControllerTest < ActionDispatch::IntegrationTest/ assert_file "app/helpers/accounts_helper.rb", /module AccountsHelper/ end |