aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/testing.textile
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2010-09-25 08:15:52 +0800
committerJosé Valim <jose.valim@gmail.com>2010-09-26 02:13:45 +0800
commit7fc1edd790a3f590a81991d4582ab567de5a3de0 (patch)
tree2e824123d5b02c050119127e45a522a94196e42d /railties/guides/source/testing.textile
parentff3f55ee583743abf03a75d221216614e7ccd5e8 (diff)
downloadrails-7fc1edd790a3f590a81991d4582ab567de5a3de0.tar.gz
rails-7fc1edd790a3f590a81991d4582ab567de5a3de0.tar.bz2
rails-7fc1edd790a3f590a81991d4582ab567de5a3de0.zip
Remove deprecated stuff in ActionController
This removes all deprecated classes in ActionController related to Routing, Abstract Request/Response and Integration/IntegrationTest. All tests and docs were changed to ActionDispatch instead of ActionController.
Diffstat (limited to 'railties/guides/source/testing.textile')
-rw-r--r--railties/guides/source/testing.textile8
1 files changed, 4 insertions, 4 deletions
diff --git a/railties/guides/source/testing.textile b/railties/guides/source/testing.textile
index 2355d2a31a..043a2462b4 100644
--- a/railties/guides/source/testing.textile
+++ b/railties/guides/source/testing.textile
@@ -613,7 +613,7 @@ Here's what a freshly-generated integration test looks like:
<ruby>
require 'test_helper'
-class UserFlowsTest < ActionController::IntegrationTest
+class UserFlowsTest < ActionDispatch::IntegrationTest
fixtures :all
# Replace this with your real tests.
@@ -623,7 +623,7 @@ class UserFlowsTest < ActionController::IntegrationTest
end
</ruby>
-Integration tests inherit from +ActionController::IntegrationTest+. This makes available some additional helpers to use in your integration tests. Also you need to explicitly include the fixtures to be made available to the test.
+Integration tests inherit from +ActionDispatch::IntegrationTest+. This makes available some additional helpers to use in your integration tests. Also you need to explicitly include the fixtures to be made available to the test.
h4. Helpers Available for Integration Tests
@@ -649,7 +649,7 @@ A simple integration test that exercises multiple controllers:
<ruby>
require 'test_helper'
-class UserFlowsTest < ActionController::IntegrationTest
+class UserFlowsTest < ActionDispatch::IntegrationTest
fixtures :users
test "login and browse site" do
@@ -677,7 +677,7 @@ Here's an example of multiple sessions and custom DSL in an integration test
<ruby>
require 'test_helper'
-class UserFlowsTest < ActionController::IntegrationTest
+class UserFlowsTest < ActionDispatch::IntegrationTest
fixtures :users
test "login and browse site" do