diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-04-24 20:24:03 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-04-24 20:24:54 -0500 |
commit | dd2ed32418a74ca9126834f98a1b0bca926c0c4f (patch) | |
tree | 5a9983b3c83148fd7bac98cdaee18355cd3a37aa /actionpack/lib/action_dispatch.rb | |
parent | cbcc0ca57b0ea713d7d32364b599d88f2bef6d92 (diff) | |
download | rails-dd2ed32418a74ca9126834f98a1b0bca926c0c4f.tar.gz rails-dd2ed32418a74ca9126834f98a1b0bca926c0c4f.tar.bz2 rails-dd2ed32418a74ca9126834f98a1b0bca926c0c4f.zip |
Start to integrate some of the features in Rack::Test.
Eventually commit ActionDispatch::Test::MockRequest and ActionDispatch::Test:: UploadedFile upstream.
Diffstat (limited to 'actionpack/lib/action_dispatch.rb')
-rw-r--r-- | actionpack/lib/action_dispatch.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/actionpack/lib/action_dispatch.rb b/actionpack/lib/action_dispatch.rb index 5feb8a4863..13ce38e928 100644 --- a/actionpack/lib/action_dispatch.rb +++ b/actionpack/lib/action_dispatch.rb @@ -60,6 +60,11 @@ module ActionDispatch autoload :CookieStore, 'action_dispatch/middleware/session/cookie_store' autoload :MemCacheStore, 'action_dispatch/middleware/session/mem_cache_store' end + + module Test + autoload :UploadedFile, 'action_dispatch/test/uploaded_file' + autoload :MockRequest, 'action_dispatch/test/mock' + end end autoload :Mime, 'action_dispatch/http/mime_type' |