Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove assert_valid. It was already deprecated on Rails 2.3. | José Valim | 2010-07-19 | 1 | -15/+0 |
| | |||||
* | move assert_template tests to their own test case [#4501 state:resolved] | David Chelimsky | 2010-05-03 | 1 | -41/+46 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Eliminate false positives when passing symbols to assert_template | David Chelimsky | 2010-05-03 | 1 | -4/+25 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Modify assert_template to use notifications. Also, remove ↵ | Carlhuda | 2010-03-17 | 1 | -3/+5 |
| | | | | ActionController::Base#template since it is no longer needed. | ||||
* | Remove unneeded AV::Base and AV::Template monkey-patches | Carlhuda | 2010-03-17 | 1 | -3/+2 |
| | |||||
* | No longer add missing leading / on path args to assert_redirected_to. ↵ | Jeremy Kemper | 2010-03-02 | 1 | -2/+4 |
| | | | | Deprecated in 2.3.6. | ||||
* | Remove implicit controller namespacing from new dsl | Joshua Peek | 2010-02-28 | 1 | -3/+6 |
| | |||||
* | WIP: Remove the global router | Carlhuda | 2010-02-25 | 1 | -3/+6 |
| | |||||
* | Use new routing dsl in tests | Joshua Peek | 2009-12-08 | 1 | -11/+11 |
| | |||||
* | Fix isolated running of ActionPackAssertionTest | Joshua Peek | 2009-09-06 | 1 | -0/+1 |
| | |||||
* | Track all AC base subclasses as possible controllers for internal testing | Joshua Peek | 2009-08-25 | 1 | -8/+0 |
| | |||||
* | Cleanup route reloading in tests. Prefer with_routing over using ↵ | Joshua Peek | 2009-08-16 | 1 | -6/+2 |
| | | | | ActionController::Routing::Routes directly | ||||
* | Fix pending test about content-type | Yehuda Katz + Carl Lerche | 2009-06-17 | 1 | -5/+19 |
| | |||||
* | Make assertion tests pass with the new base | Pratik Naik | 2009-05-22 | 1 | -3/+3 |
| | |||||
* | Add tests for assert_template :template | Mike Breen | 2009-05-17 | 1 | -0/+23 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Extract ActionController rescue templates into Rescue and ShowExceptions ↵ | Joshua Peek | 2009-05-02 | 1 | -1/+1 |
| | | | | | middleware. This commit breaks all exception catching plugins like ExceptionNotifier. These plugins should be rewritten as middleware instead overriding Controller#rescue_action_in_public. | ||||
* | Deprecate assert_redirect_to's partial hash matching | Joshua Peek | 2009-05-02 | 1 | -3/+5 |
| | |||||
* | Start moving TestRequest and TestResponse into ActionDispatch | Joshua Peek | 2009-04-30 | 1 | -8/+14 |
| | |||||
* | Deprecate template, session, assigns, and layout accessors on response ↵ | Joshua Peek | 2009-04-28 | 1 | -6/+6 |
| | | | | object. Instead access them through the controller instance. This mainly affects functional test assertions. | ||||
* | Deprecate response.redirect_url_match?, use assert_match instead. | Joshua Peek | 2009-04-26 | 1 | -4/+6 |
| | |||||
* | Temporarily modifies setup to call super directly. This can support more ↵ | Yehuda Katz and Carl Lerche | 2009-04-08 | 1 | -0/+2 |
| | | | | T::U runners. | ||||
* | Rename AbstractResponse to Response and inheirt from Rack::Response | Joshua Peek | 2008-12-19 | 1 | -3/+3 |
| | |||||
* | Add :partial option to assert_template [#1550 state:resolved] | mark | 2008-12-11 | 1 | -3/+3 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Deprecate assert_valid | Joshua Peek | 2008-11-25 | 1 | -2/+2 |
| | |||||
* | Add TestResponse#client_error? to check for 4xx status codes [#851 ↵ | Lance Ivy | 2008-11-22 | 1 | -0/+6 |
| | | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Move controller assertions from base TestCase to AC:: and AV::TestCase | Jeremy Kemper | 2008-11-07 | 1 | -15/+11 |
| | |||||
* | Made ActionView::Base#first_render a little more private. And added ↵ | Joshua Peek | 2008-07-13 | 1 | -3/+3 |
| | | | | _last_render to track the most recent render. Will fix #609 as a side effect. [#609 state:resolved] | ||||
* | Set global ActionController::Base.view_paths for test cases | Joshua Peek | 2008-07-12 | 1 | -8/+0 |
| | |||||
* | Simplify the implementation of assert_redirected_to to normalise the urls ↵ | Michael Koziarski | 2008-07-04 | 1 | -6/+4 |
| | | | | | | before comparing. Also allows for a simpler implementation of redirect_to without most of the recursion. Also allows for assert_redirected_to @some_record | ||||
* | Remove old broken follow_redirect from functional tests. Still works in ↵ | Michael Koziarski | 2008-07-04 | 1 | -16/+0 |
| | | | | | | integration tests. The follow_redirect in functional tests only worked if you used redirect_to :id=>foo, :action=>bar, rather than named routes. | ||||
* | Set precompiled fixture load path constant to speed up tests | Joshua Peek | 2008-06-25 | 1 | -3/+2 |
| | |||||
* | Fix assert_redirected_to for nested controllers and named routes | Gabe da Silveira | 2008-06-04 | 1 | -3/+20 |
| | | | | | | [#308 state:resolved] Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Test for assert_response for failure response without an exception. [#141 ↵ | Chris Hapgood | 2008-05-19 | 1 | -0/+14 |
| | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | require abstract_unit directly since test is in load path | Jeremy Kemper | 2008-01-05 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8564 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | assert_response failures include the exception message. Closes #10688. | Jeremy Kemper | 2008-01-05 | 1 | -0/+18 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8559 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix url_for, redirect_to, etc. with :controller => :symbol instead of ↵ | Jeremy Kemper | 2007-10-07 | 1 | -0/+13 |
| | | | | | | 'string'. Closes #8562, #9525. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7776 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Remove deprecated functionality from actionpack. Closes #8958 [lifofifo] | Michael Koziarski | 2007-09-03 | 1 | -12/+12 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7403 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Add ActionController::Routing::Helpers, a module to contain common URL ↵ | Nicholas Seckar | 2007-05-12 | 1 | -1/+1 |
| | | | | | | helpers such as polymorphic_url. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6722 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Deprecation: remove deprecated redirect methods. | Jeremy Kemper | 2007-03-13 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6400 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix tests depending too deep | David Heinemeier Hansson | 2007-02-19 | 1 | -4/+4 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6169 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Allow Controllers to have multiple view_paths instead of a single ↵ | Rick Olson | 2007-02-04 | 1 | -1/+1 |
| | | | | | | template_root. Closes #2754 [John Long] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Remove deprecated assertions. | Jeremy Kemper | 2007-01-28 | 1 | -130/+0 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6055 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix assert_redirected_to bug where redirecting from a nested to to a ↵ | Rick Olson | 2006-12-25 | 1 | -1/+23 |
| | | | | | | top-level controller incorrectly added the current controller's nesting. Closes #6128. [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5785 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Merge [5645] from 1.2. | Jeremy Kemper | 2006-11-28 | 1 | -4/+6 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5646 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Deprecation: @request will be removed after 1.2. Use the request method instead. | Jeremy Kemper | 2006-09-29 | 1 | -68/+68 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5201 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added proper getters and setters for content type and charset [DHH] Added ↵ | David Heinemeier Hansson | 2006-09-17 | 1 | -3/+3 |
| | | | | | | utf-8 as the default charset for all renders. You can change this default using ActionController::Base.default_charset=(encoding) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5129 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | deprecated assertions tests | Jeremy Kemper | 2006-09-04 | 1 | -33/+51 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4976 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix assert_redirected_to issue with named routes for module controllers. ↵ | Rick Olson | 2006-08-13 | 1 | -0/+22 |
| | | | | | | [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4757 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Deprecate direct usage of @params. Update ActionView::Base for instance var ↵ | Jeremy Kemper | 2006-08-07 | 1 | -1/+1 |
| | | | | | | deprecation. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4715 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added support for Mime objects in render :content_type option [DHH] | David Heinemeier Hansson | 2006-06-02 | 1 | -0/+10 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4404 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |