Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
* | Introduce the request.body stream. Lazy-read to parse parameters rather than ↵ | Jeremy Kemper | 2007-05-15 | 1 | -11/+19 |
| | | | | | | always setting RAW_POST_DATA. Reduces the memory footprint of large binary PUT requests. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6740 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Prefer MIME constants to strings. Closes #7707. | Jeremy Kemper | 2007-03-06 | 1 | -7/+7 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6350 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Revert [6086] and [6087] since they caused a major regression with ↵ | Jeremy Kemper | 2007-02-10 | 1 | -2/+2 |
| | | | | | | functional tests in 1.2.2. References #7372. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6145 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | TestSession supports indifferent access so session['foo'] == session[:foo] ↵ | Jeremy Kemper | 2007-01-28 | 1 | -2/+2 |
| | | | | | | in your tests. Closes #7372. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6086 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Use a consistent load path to avoid double requires. Fix some scattered Ruby ↵ | Jeremy Kemper | 2007-01-28 | 1 | -3/+3 |
| | | | | | | warnings. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6057 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Add a 'referer' attribute to TestRequest | Jamis Buck | 2006-12-19 | 1 | -0/+4 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5748 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | @response.redirect_url works with 201 Created responses: just return ↵ | Jeremy Kemper | 2006-11-28 | 1 | -1/+1 |
| | | | | | | headers['Location'] rather than checking the response status. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5643 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Use Location rather than location header. | Jeremy Kemper | 2006-11-26 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5635 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Always clear model associations from session. Closes #4795. | Jeremy Kemper | 2006-11-13 | 1 | -10/+23 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5512 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Moved in deprecated assertions and remove duplicated requires | David Heinemeier Hansson | 2006-09-03 | 1 | -6/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4935 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |