aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/base_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup route reloading in tests. Prefer with_routing over using ↵Joshua Peek2009-08-161-17/+17
| | | | ActionController::Routing::Routes directly
* Cleaning up more tests and code that needed to work in both old and new baseYehuda Katz + Carl Lerche2009-06-171-5/+1
|
* Document and clean up HideActions and HttpYehuda Katz + Carl Lerche2009-06-101-3/+8
|
* Got new base to pass controller/base_test.rb, implemented method_missing ↵Yehuda Katz + Carl Lerche2009-05-141-1/+1
| | | | action semantics in compatibility mode, and fixed a few action_missing bugs.
* Cherry-pick core extensionsJeremy Kemper2009-05-131-0/+1
|
* Extract ActionController rescue templates into Rescue and ShowExceptions ↵Joshua Peek2009-05-021-5/+4
| | | | | middleware. This commit breaks all exception catching plugins like ExceptionNotifier. These plugins should be rewritten as middleware instead overriding Controller#rescue_action_in_public.
* Updated old AC::Base for small changes to AVYehuda Katz and Carl Lerche2009-04-081-0/+2
|
* Include process methods in ActionController::TestCase only. No need to ↵Jeremy Kemper2009-01-091-12/+10
| | | | alias_method_chain :process either.
* Move controller assertions from base TestCase to AC:: and AV::TestCaseJeremy Kemper2008-11-071-1/+1
|
* Get rid of 'Object#send!'. It was originally added because it's in Ruby 1.9, ↵Jeremy Kemper2008-08-311-4/+4
| | | | | | | | | | but it has since been removed from 1.9. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> Conflicts: actionpack/test/controller/layout_test.rb
* Use fully-qualified controller name when logging. [#600 state:resolved]Ripta Pasay2008-07-171-0/+20
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fix url_for with no arguments when default_url_options is not explicitly ↵Luke Redpath2008-06-171-1/+17
| | | | | | defined. [#339 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* regression test for bug introduced in ↵rick2008-05-051-0/+13
| | | | [6a6b4392c16c665eb713705f2b38e959a658eeef] [Ian White] [#22 state:resolved]
* Allow ActionController::Base#default_url_options to have a default options ↵Cheah Chu Yeow2008-05-051-1/+1
| | | | | | argument of nil. This fixes a bug introduced in [6a6b4392c16c665eb713705f2b38e959a658eeef] which was breaking routing in ActionController::UrlWriter.
* Ensure that default_url_options, if defined, are used in named routes.Cheah Chu Yeow2008-05-041-0/+34
| | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#22 state:resolved]
* require abstract_unit directly since test is in load pathJeremy Kemper2008-01-051-2/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8564 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixup mocha tests for 0.5.6. Closes #10602 [murphy, mikong]Jeremy Kemper2007-12-291-1/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8508 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compat, consistent load pathsJeremy Kemper2007-10-021-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7719 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Mocha 0.4 mixes in more public instance methods, confusing controller ↵Jeremy Kemper2007-01-241-10/+8
| | | | | | identification of action methods. Closes #7347. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6030 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Integration tests: thoroughly test ActionController::Integration::Session. ↵Jeremy Kemper2006-09-031-0/+11
| | | | | | Closes #6022. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4954 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Invoke method_missing directly for hidden actions. Closes #3030.Nicholas Seckar2006-08-131-0/+58
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4755 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make controller_path available as an instance method. Closes #5724.Jeremy Kemper2006-08-051-2/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4664 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make action caching aware of different formats for the same action so that, ↵Marcel Molina2006-08-031-1/+0
| | | | | | e.g. foo.xml is cached separately from foo.html. Implicitly set content type when reading in cached content with mime revealing extensions so the entire onous isn't on the webserver. PDI MORE CACHING TESTS [Marcel Molina Jr.] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4656 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove ::Controllers related cruft; fix AP testsNicholas Seckar2006-02-261-42/+31
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3668 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Expose the session model backing CGI::SessionJeremy Kemper2005-10-201-2/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2696 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Require 'pp' early to prevent the pretty-print methods being mixed in too ↵Jamis Buck2005-09-201-0/+1
| | | | | | late and messing up a test git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2277 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Optimized tag_options to not sort keys, which is no longer necessary when ↵David Heinemeier Hansson2005-09-201-1/+1
| | | | | | assert_dom_equal and friend is available #1995 [skae]. Added assert_dom_equal and assert_dom_not_equal to compare tags generated by the helpers in an order-indifferent manner #1995 [skae] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2271 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made base_tests.rb run as part of rakeDavid Heinemeier Hansson2005-09-151-0/+72
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2243 5ecf4fe2-1ee6-0310-87b1-e25e094e27de