diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2007-10-14 22:54:28 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2007-10-14 22:54:28 +0000 |
commit | 6e56cc013f92e3e345ec6c2f8d63ce5dd53474c7 (patch) | |
tree | 555aae0279e46180a6144be4ac02d156c17d1243 /actionpack/test/controller/session | |
parent | d0df7f2b12b201edbef0d59360224e68f9a0a447 (diff) | |
download | rails-6e56cc013f92e3e345ec6c2f8d63ce5dd53474c7.tar.gz rails-6e56cc013f92e3e345ec6c2f8d63ce5dd53474c7.tar.bz2 rails-6e56cc013f92e3e345ec6c2f8d63ce5dd53474c7.zip |
Wrap test with uses_mocha
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7888 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/controller/session')
-rw-r--r-- | actionpack/test/controller/session/mem_cache_store_test.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/actionpack/test/controller/session/mem_cache_store_test.rb b/actionpack/test/controller/session/mem_cache_store_test.rb index db408bf21c..1fd2d0cd75 100644 --- a/actionpack/test/controller/session/mem_cache_store_test.rb +++ b/actionpack/test/controller/session/mem_cache_store_test.rb @@ -1,7 +1,6 @@ require "#{File.dirname(__FILE__)}/../../abstract_unit" require 'action_controller/cgi_process' require 'action_controller/cgi_ext' -require "mocha" class CGI::Session @@ -11,8 +10,9 @@ class CGI::Session end -class MemCacheStoreTest < Test::Unit::TestCase +uses_mocha 'MemCacheStore tests' do +class MemCacheStoreTest < Test::Unit::TestCase SESSION_KEY_RE = /^session:[0-9a-z]+/ CONN_TEST_KEY = 'connection_test' MULTI_TEST_KEY = '0123456789' @@ -176,3 +176,5 @@ class MemCacheStoreTest < Test::Unit::TestCase cgi end end + +end # uses_mocha |