aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators/resource_generator_test.rb
diff options
context:
space:
mode:
authorEileen M. Uchitelle <eileencodes@gmail.com>2015-12-13 16:19:30 -0500
committerEileen M. Uchitelle <eileencodes@gmail.com>2015-12-13 16:19:30 -0500
commit9712a7a12b7f9e4dcef751ceda8a73c3f4beb11f (patch)
treef12e42145656e222d1f735c3ee96903aad1ea181 /railties/test/generators/resource_generator_test.rb
parent3e65c3d3886336e9145438cdeacaf4ebec6a48b8 (diff)
parent5541d640cf455ae95544dba411ba71367cbc97ff (diff)
downloadrails-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.rb2
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