aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/dispatch/session
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-11-04 15:25:15 -0800
committerJeremy Kemper <jeremy@bitsweat.net>2009-11-04 15:41:50 -0800
commit425a02cecea188f502ad8f137271d1b90b9c7558 (patch)
tree60895b3e45f50a183a9b172feb394b0652e1fb2b /actionpack/test/dispatch/session
parent0ff8f81adcf1e025a34d4a50ea1db39384a00e0b (diff)
downloadrails-425a02cecea188f502ad8f137271d1b90b9c7558.tar.gz
rails-425a02cecea188f502ad8f137271d1b90b9c7558.tar.bz2
rails-425a02cecea188f502ad8f137271d1b90b9c7558.zip
Ruby 1.9: resolve constant lookup issues
Diffstat (limited to 'actionpack/test/dispatch/session')
-rw-r--r--actionpack/test/dispatch/session/cookie_store_test.rb2
-rw-r--r--actionpack/test/dispatch/session/mem_cache_store_test.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/dispatch/session/cookie_store_test.rb b/actionpack/test/dispatch/session/cookie_store_test.rb
index edfc303d3d..ab7b9bc31b 100644
--- a/actionpack/test/dispatch/session/cookie_store_test.rb
+++ b/actionpack/test/dispatch/session/cookie_store_test.rb
@@ -219,7 +219,7 @@ class CookieStoreTest < ActionController::IntegrationTest
def with_test_route_set(options = {})
with_routing do |set|
set.draw do |map|
- match ':action', :to => TestController
+ match ':action', :to => ::CookieStoreTest::TestController
end
options = {:key => SessionKey, :secret => SessionSecret}.merge(options)
@app = ActionDispatch::Session::CookieStore.new(set, options)
diff --git a/actionpack/test/dispatch/session/mem_cache_store_test.rb b/actionpack/test/dispatch/session/mem_cache_store_test.rb
index afc9d91d50..5a1dcb4dab 100644
--- a/actionpack/test/dispatch/session/mem_cache_store_test.rb
+++ b/actionpack/test/dispatch/session/mem_cache_store_test.rb
@@ -112,7 +112,7 @@ class MemCacheStoreTest < ActionController::IntegrationTest
def with_test_route_set
with_routing do |set|
set.draw do |map|
- match ':action', :to => TestController
+ match ':action', :to => ::MemCacheStoreTest::TestController
end
@app = ActionDispatch::Session::MemCacheStore.new(set, :key => '_session_id')
yield