aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
Commit message (Collapse)AuthorAgeFilesLines
* Add localized templatesJoshua Peek2009-01-253-0/+20
| | | | | | | | # Default locale app/views/messages/index.html.erb # I18n.locale is set to :da (Danish) app/views/messages/index.da.html.erb
* Remove the irrelevant fixture added in fe6ffce51dc16285094be49244b26591956c2dd6Pratik Naik2009-01-241-8/+0
|
* Make sure inner scope conditions get a preference over the outer onesPratik Naik2009-01-241-1/+9
|
* Allow empty files to be uploadedJoshua Peek2009-01-203-3/+21
|
* Add MiddlewareStack#swapJoshua Peek2009-01-201-0/+6
| | | | config.middleware.swap ActionController::Session::CookieStore, MySessionStore
* Don't let empty Tempfiles come through as uploaded files [#1785 state:resolved]Mislav Marohnić2009-01-202-0/+16
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Restore cookie store httponly default to true. Remove extraneous dup of ↵Cody Fauser2009-01-201-2/+2
| | | | | | options on initialization [#1784 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Improve HTTP Basic authentication testsPratik Naik2009-01-182-54/+88
|
* Build query string and POST params parser on top of Rack::Request. Also ↵Joshua Peek2009-01-172-4/+4
| | | | switch our multipart parser to use Racks. Moved XML, JSON, and YAML parsers into ActionController::ParamsParser middleware [#1661 state:resolved]
* Add test coverage for fixing Safari 2 trailing null characterJoshua Peek2009-01-171-0/+12
|
* Fix date_select within fields_for with an index [#1666 state:resolved] ↵Josh2009-01-161-15/+80
| | | | | | [Josh, Frederick Cheung] Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com>
* Update multipart tests to expose (another) bug in Rack's multipart parserJoshua Peek2009-01-132-2/+2
|
* Add RewindableInput wrapper to fix issues with middleware that impolitely ↵Joshua Peek2009-01-132-2/+80
| | | | eat up non-rewindable input
* Explicitly read as binary in multipart_body for Windows [#1065 state:resolved]Bryan Ash2009-01-131-7/+7
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Revert "HTTP Digest authentication [#1230 state:resolved]"Pratik Naik2009-01-132-161/+0
| | | | | | | | | This reverts commit 45dee3842d68359a189fe7c0729359bd5a905ea4. Reasons : 1. The code is not working in it's current state 2. Should not be using exceptions for flow control
* Refactor request urlencoded params parsing testsJoshua Peek2009-01-102-201/+171
|
* Moved query string parsing tests into the request tests folderJoshua Peek2009-01-101-0/+0
|
* Refactor request multipart params parsing testsJoshua Peek2009-01-103-169/+167
|
* Refactor request xml params parsing testsJoshua Peek2009-01-092-54/+88
|
* Refactor request json params parsing testsJoshua Peek2009-01-092-22/+45
|
* Ensure we override Rack::Request's POST method tooJoshua Peek2009-01-091-1/+3
|
* Refactor request query string parsing testsJoshua Peek2009-01-092-105/+119
|
* Remove Content-Length header from :no_content responsesJeremy Kemper2009-01-071-1/+6
|
* Use instance_eval instead of adding an accessor to the classJeremy Kemper2009-01-071-2/+1
|
* Include process methods in ActionController::TestCase only. No need to ↵Jeremy Kemper2009-01-079-47/+35
| | | | alias_method_chain :process either.
* Bump Rack version to 0.9Joshua Peek2009-01-062-4/+9
|
* Memoize request accessors on the Rack env so other request objects have ↵Joshua Peek2009-01-042-4/+4
| | | | access to the same cache [#1668 state:resolved]
* Move metal above method piggybacking middleware and add some test coverageJoshua Peek2009-01-031-0/+70
|
* Add failing test for file uploads with unrewindable inputJoshua Peek2009-01-022-10/+37
|
* Revert to the good old days when AssetTag didn't cause anyone problemsJoshua Peek2009-01-022-7/+0
|
* Fixed call_with_exception for Routing Errors [#1684 state:resolved]Laszlo Bacsi2009-01-021-0/+7
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Added :silence option to BenchmarkHelper#benchmark and turned log_level into ↵David Heinemeier Hansson2009-01-011-24/+50
| | | | a hash parameter and deprecated the old use [DHH]
* Merge branch 'master' of git@github.com:rails/railsDavid Heinemeier Hansson2009-01-019-85/+252
|\
| * Test that exceptions raised in filters are properly rescuedJeremy Kemper2008-12-301-0/+15
| |
| * Merge commit 'fred/pullable'Pratik Naik2008-12-301-0/+1
| |\
| | * Fixed incorrect parsing of query parameters with mixed-depth nesting inside ↵Mark Reginald James2008-12-281-0/+1
| | | | | | | | | | | | | | | | | | an array [#1622 state:resolved] Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com>
| * | Clean up view path cruft and split path implementations into Template::Path ↵Joshua Peek2008-12-293-8/+9
| | | | | | | | | | | | and Template::EagerPath
| * | Make router and controller classes better rack citizensJoshua Peek2008-12-283-77/+66
| | |
| * | HTTP Digest authentication [#1230 state:resolved]Joshua Peek2008-12-282-0/+161
| | |
* | | Fixed the AssetTagHelper cache to use the computed asset host as part of the ↵David Heinemeier Hansson2009-01-011-0/+20
|/ / | | | | | | cache key instead of just assuming the its a string [#1299 state:committed]
* | Request#env['SERVER_NAME'] does not contain port numberPratik Naik2008-12-281-2/+2
| |
* | Fix ActionPack build on Windows: we really should not test anything ↵Yaroslav Markin2008-12-271-10/+12
|/ | | | | | regarding symlinks on Windows. Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Merge commit 'fred/pullable'Pratik Naik2008-12-262-5/+12
|\
| * Fix assert_select_rjs not checking id for inserts [#540 state:resolved]Frederick Cheung2008-12-261-0/+8
| |
| * Fix randomly failing cookie store testsFrederick Cheung2008-12-261-5/+4
| | | | | | | | | | Marshal.dump(Marshal.load(marshaled_hash)) is not guarenteed to be equal to marshaled_hash because of the lack of ordering of hash
* | Make ActionController#render(symbol) behave same as ↵Pratik Naik2008-12-261-1/+10
| | | | | | | | ActionController#render(string) [#1435]
* | Make ActionController#render(string) work as a shortcut for render :action ↵Pratik Naik2008-12-251-0/+19
| | | | | | | | | | | | | | | | | | | | => string. [#1435] Examples: # Instead of render(:action => 'other_action') render('other_action') Note : Argument must not have any '/'
* | Make ActionController#render(string) work as a shortcut for render :template ↵Pratik Naik2008-12-251-0/+21
| | | | | | | | | | | | | | | | | | | | => string. [#1435] Examples: # Instead of render(:template => 'controller/action') render('controller/action') Note : Argument must not begin with a '/', but have at least one '/'
* | Make ActionController#render(string) work as a shortcut for render :file => ↵Pratik Naik2008-12-251-8/+21
| | | | | | | | | | | | | | | | | | | | string. [#1435] Examples: # Instead of render(:file => '/Users/lifo/home.html.erb') render('/Users/lifo/home.html.erb') Note : Filename must begin with a forward slash ('/')
* | Make render_test.rb run in isolationPratik Naik2008-12-251-0/+2
| |