aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-05-02 15:29:18 -0500
committerJoshua Peek <josh@joshpeek.com>2009-05-02 15:29:18 -0500
commitf32cf44870549c6cc5b6e6c84cffc1facf6ec38e (patch)
tree320e7398d1e6e4f3f372cd2ee90d1e2560459f10 /actionpack/test
parenta8b75c480fc9774252f5976dcf1a614079822e56 (diff)
downloadrails-f32cf44870549c6cc5b6e6c84cffc1facf6ec38e.tar.gz
rails-f32cf44870549c6cc5b6e6c84cffc1facf6ec38e.tar.bz2
rails-f32cf44870549c6cc5b6e6c84cffc1facf6ec38e.zip
Switch functional tests to run through the rack interface instead of process
Diffstat (limited to 'actionpack/test')
-rw-r--r--actionpack/test/controller/caching_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/caching_test.rb b/actionpack/test/controller/caching_test.rb
index 10b904481d..6b9d1056a3 100644
--- a/actionpack/test/controller/caching_test.rb
+++ b/actionpack/test/controller/caching_test.rb
@@ -111,7 +111,7 @@ class PageCachingTest < ActionController::TestCase
end
def test_should_cache_ok_at_custom_path
- @request.stubs(:path).returns("/index.html")
+ @request.request_uri = "/index.html"
get :ok
assert_response :ok
assert File.exist?("#{FILE_STORE_PATH}/index.html")