diff options
Diffstat (limited to 'railties/test/generators/controller_generator_test.rb')
-rw-r--r-- | railties/test/generators/controller_generator_test.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/railties/test/generators/controller_generator_test.rb b/railties/test/generators/controller_generator_test.rb index 2974f35dd9..be99dc068d 100644 --- a/railties/test/generators/controller_generator_test.rb +++ b/railties/test/generators/controller_generator_test.rb @@ -28,23 +28,23 @@ class ControllerGeneratorTest < Rails::Generators::TestCase def test_invokes_helper run_generator assert_file "app/helpers/account_helper.rb" - assert_file "test/helpers/account_helper_test.rb" + assert_file "test/unit/helpers/account_helper_test.rb" end def test_does_not_invoke_helper_if_required run_generator ["account", "--skip-helper"] assert_no_file "app/helpers/account_helper.rb" - assert_no_file "test/helpers/account_helper_test.rb" + assert_no_file "test/unit/helpers/account_helper_test.rb" end def test_invokes_default_test_framework run_generator - assert_file "test/controllers/account_controller_test.rb" + assert_file "test/functional/account_controller_test.rb" end def test_does_not_invoke_test_framework_if_required run_generator ["account", "--no-test-framework"] - assert_no_file "test/controllers/account_controller_test.rb" + assert_no_file "test/functional/account_controller_test.rb" end def test_invokes_default_template_engine |