Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Temporarily bundle Rack 1.0 prerelease for testing | Joshua Peek | 2009-02-07 | 1 | -2/+6 |
| | |||||
* | Controller, response, and request should all refer to same session, even ↵ | Scott Taylor | 2009-01-29 | 1 | -4/+19 |
| | | | | | | after a call to session_reset [#1823 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Fixed deprecated methods on TestSession [#1801 state:resolved] | Joshua Peek | 2009-01-27 | 1 | -12/+21 |
| | |||||
* | Dont use Memoizable for ActionController::Request | Pratik Naik | 2009-01-27 | 1 | -7/+8 |
| | |||||
* | Change Object#try to raise NoMethodError on private methods and always ↵ | Pratik Naik | 2009-01-13 | 1 | -1/+2 |
| | | | | return nil when Object is nil [Pratik Naik, Lawrence Pit] | ||||
* | Include process methods in ActionController::TestCase only. No need to ↵ | Jeremy Kemper | 2009-01-07 | 1 | -34/+20 |
| | | | | alias_method_chain :process either. | ||||
* | Request#env['SERVER_NAME'] does not contain port number | Pratik Naik | 2008-12-28 | 1 | -5/+1 |
| | |||||
* | Undry ActionController::TestCase#<HTTP_METHODS> for better documentation | Pratik Naik | 2008-12-25 | 1 | -12/+25 |
| | |||||
* | Move request parsing related code to ActionController::RequestParser | Pratik Naik | 2008-12-25 | 1 | -10/+21 |
| | |||||
* | Use Rack::MockRequest for TestRequest | Pratik Naik | 2008-12-23 | 1 | -7/+7 |
| | |||||
* | Switch to Rack::Response#set_cookie instead of using CGI::Cookie to build ↵ | Joshua Peek | 2008-12-20 | 1 | -3/+3 |
| | | | | cookie headers | ||||
* | Rename AbstractResponse to Response and inheirt from Rack::Response | Joshua Peek | 2008-12-19 | 1 | -3/+3 |
| | |||||
* | Process CGI 'cookie' header into 'Set-Cookie' for all responses. | Joshua Peek | 2008-12-19 | 1 | -1/+6 |
| | | | | This mostly affects response.headers['cookie'] for test requests. Use response.cookies instead. | ||||
* | Use status response accessor instead of the 'Status' header | Joshua Peek | 2008-12-19 | 1 | -1/+1 |
| | |||||
* | Lazy load flash access | Joshua Peek | 2008-12-16 | 1 | -1/+1 |
| | |||||
* | Use Mime::JS in place of explicit 'text/javascript' [#1573 state:resolved] | Seth Fitzsimmons | 2008-12-15 | 1 | -1/+1 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Add :partial option to assert_template [#1550 state:resolved] | mark | 2008-12-11 | 1 | -2/+2 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Add TestResponse#client_error? to check for 4xx status codes [#851 ↵ | Lance Ivy | 2008-11-22 | 1 | -1/+6 |
| | | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Fix straggling references to Test::Unit::TestCase | Jeremy Kemper | 2008-11-20 | 1 | -8/+4 |
| | |||||
* | Merge branch 'master' into testing | Jeremy Kemper | 2008-11-15 | 1 | -0/+1 |
|\ | |||||
| * | Changed request forgery protection to only worry about HTML-formatted ↵ | Jeff Cohen | 2008-11-13 | 1 | -0/+1 |
| | | | | | | | | | | | | content requests. Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | | Move controller assertions from base TestCase to AC:: and AV::TestCase | Jeremy Kemper | 2008-11-07 | 1 | -3/+3 |
| | | |||||
* | | Remove controller assertions from Test::Unit::TestCase. Use ↵ | Jeremy Kemper | 2008-11-07 | 1 | -1/+0 |
|/ | | | | ActionController::TestCase. | ||||
* | Track rendered templates in stack so the current template can always be ↵ | Joshua Peek | 2008-10-28 | 1 | -1/+1 |
| | | | | accessed. Added ActionView::Base#template to access the template object. | ||||
* | Dont try to auto-set the etag based on the body if any freshness headers ↵ | David Heinemeier Hansson | 2008-10-21 | 1 | -0/+6 |
| | | | | have already been set [DHH/José Valim] | ||||
* | Get rid of 'Object#send!'. It was originally added because it's in Ruby 1.9, ↵ | Jeremy Kemper | 2008-08-31 | 1 | -3/+3 |
| | | | | | | | | | | but it has since been removed from 1.9. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> Conflicts: actionpack/test/controller/layout_test.rb | ||||
* | Prefix ActionView::Base private methods with an underscore | Joshua Peek | 2008-08-31 | 1 | -1/+1 |
| | |||||
* | Move copying ivar logic from ActionController::Base to ActionView::Base | Pratik Naik | 2008-08-31 | 1 | -1/+8 |
| | |||||
* | Add TestUploadFile.content_type= to match Request.UploadedFile | Tim Haines | 2008-08-27 | 1 | -1/+1 |
| | | | | | | [#920 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Use Response status accessor instead of the Status header | Joshua Peek | 2008-08-17 | 1 | -17/+17 |
| | |||||
* | TestRequest#recycle! uses unmemoize_all to reset cached request method, ↵ | Jeremy Kemper | 2008-08-13 | 1 | -3/+3 |
| | | | | accepts, etc. | ||||
* | Update tests for request memoization | Jeremy Kemper | 2008-08-08 | 1 | -5/+19 |
| | |||||
* | Simplifying usage of ETags and Last-Modified and conditional GET requests | Jeremy Kemper | 2008-08-07 | 1 | -11/+3 |
| | |||||
* | Merge docrails changes | Pratik Naik | 2008-07-28 | 1 | -1/+8 |
| | |||||
* | All 2xx requests are considered successful [#217 state:resolved] | Joshua Peek | 2008-07-16 | 1 | -1/+1 |
| | |||||
* | Merge with docrails. | Pratik Naik | 2008-07-16 | 1 | -1/+1 |
| | |||||
* | Made ActionView::Base#first_render a little more private. And added ↵ | Joshua Peek | 2008-07-13 | 1 | -11/+4 |
| | | | | _last_render to track the most recent render. Will fix #609 as a side effect. [#609 state:resolved] | ||||
* | Refactor template preloading. New abstractions include Renderable mixins and ↵ | Joshua Peek | 2008-07-12 | 1 | -7/+3 |
| | | | | a refactored Template class. | ||||
* | Remove old broken follow_redirect from functional tests. Still works in ↵ | Michael Koziarski | 2008-07-04 | 1 | -9/+0 |
| | | | | | | integration tests. The follow_redirect in functional tests only worked if you used redirect_to :id=>foo, :action=>bar, rather than named routes. | ||||
* | Merge docrails. | Pratik Naik | 2008-05-25 | 1 | -2/+2 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Ruby 1.9 compat: ensure binary encoding for post body parsing | Jeremy Kemper | 2008-05-19 | 1 | -1/+2 |
| | |||||
* | Improve documentation coverage and markup | Xavier Noria | 2008-05-02 | 1 | -31/+33 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | TestSession supports indifferent access. Closes #7372. | Jeremy Kemper | 2008-02-02 | 1 | -3/+3 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8782 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | * Continue evolution toward ActiveSupport::TestCase and friends. #10679 ↵ | Jeremy Kemper | 2008-01-05 | 1 | -0/+1 |
| | | | | | | | | | [Josh Peek] * TestCase: introduce declared setup and teardown callbacks. Pass a list of methods and an optional block to call before setup or after teardown. Setup callbacks are run in the order declared; teardown callbacks are run in reverse. [Jeremy Kemper] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8570 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Ruby 1.9 compat: introduce instance_variable_names. Closes #10630 [Frederick ↵ | Jeremy Kemper | 2007-12-28 | 1 | -1/+1 |
| | | | | | | Cheung] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8499 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fixed send_file/binary_content for testing (closes #8044) [tolsen] | David Heinemeier Hansson | 2007-12-05 | 1 | -7/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8318 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Ruby 1.9 compat, consistent load paths | Jeremy Kemper | 2007-10-02 | 1 | -9/+9 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7719 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Add option to force binary mode on tempfile used for fixture_file_upload. ↵ | Jeremy Kemper | 2007-09-14 | 1 | -3/+11 |
| | | | | | | Closes #6380. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7478 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix assert_select for XML documents. Closes #8173. [dasil003] | Michael Koziarski | 2007-09-08 | 1 | -1/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7417 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Add a user_agent to TestRequest | Michael Koziarski | 2007-09-07 | 1 | -1/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7416 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |