aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Rename Orchestra to Notifications [#3321 state:resolved]"José Valim2009-10-151-2/+2
| | | | This reverts commit 8cbf825425dc8ad3770881ea4e100b9023c69ce2.
* Merge branch 'arel'Jeremy Kemper2009-10-141-6/+10
|\
| * Clarify AR dependencyJeremy Kemper2009-10-141-6/+10
| |
* | Rename Orchestra to Notifications [#3321 state:resolved]Joshua Peek2009-10-141-2/+2
|/
* Make IntegrationTest::Runner propagate method_missing to ancestors.George Ogata2009-10-151-0/+18
| | | | | | | Fixes RSpec integration example groups, which mixes its Matchers module into ActiveSupport::TestCase. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Test cases should see all the cookies, not just cookies that have been set ↵Craig Smith2009-10-151-0/+17
| | | | | | | | | | | | | in the controller. Previously this example would always pass, even when cookies.delete was not called. @request.cookies['foo'] = 'bar' get :delete_cookie assert_nil cookies['foo'] Signed-off-by: Michael Koziarski <michael@koziarski.com> [#2768 state:committed]
* CookieJar#delete should return the key's value, consistent with a HashJeffrey Hardy2009-10-141-0/+7
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Kill mock routing assertion that tests router implementationJoshua Peek2009-10-101-13/+0
|
* Relative url generations are covered more thoroughly by url rewriter testsJoshua Peek2009-10-101-12/+0
|
* Drop implementation specific routing test assertionsJoshua Peek2009-10-101-3/+0
|
* Switch to on-by-default XSS escaping for rails.Michael Koziarski2009-10-082-1/+20
| | | | | | | | | | | | This consists of: * String#html_safe! a method to mark a string as 'safe' * ActionView::SafeBuffer a string subclass which escapes anything unsafe which is concatenated to it * Calls to String#html_safe! throughout the rails helpers * a 'raw' helper which lets you concatenate trusted HTML from non-safety-aware sources (e.g. presantized strings in the DB) * New ERB implementation based on erubis which uses a SafeBuffer instead of a String Hat tip to Django for the inspiration.
* Use with_routing helper in tests instead of modifying global route setJoshua Peek2009-10-033-87/+102
|
* Redraw default routes on all internal integration tests. We don't need ↵Joshua Peek2009-10-0313-26/+26
| | | | SimpleRouteCase anymore
* Avoid creating new controller constants during test runtime. All routable ↵Joshua Peek2009-10-031-59/+3
| | | | controllers should be defined beforehand.
* Changing directories during the test breaks file loading when ran by itselfJoshua Peek2009-10-031-32/+21
|
* File extra test folders into controller, dispatch, or templateJoshua Peek2009-10-0316-0/+1402
|
* Add custom "with_routing" to internal tests to fix reseting session after usingJoshua Peek2009-10-033-6/+1
| | | | with_routing. This only affects our internal AP tests.
* Move middleware and route configuration from AC::Dispatcher to Rails ↵Joshua Peek2009-09-261-7/+5
| | | | application object
* Allow setting a default application for all integration testsJoshua Peek2009-09-261-2/+1
|
* Allow integration test rack app to be set with "@app" ivar instead of using ↵Joshua Peek2009-09-263-8/+5
| | | | open_session
* Remove deprecated calls to Dispatcher.to_prepareJoshua Peek2009-09-261-10/+5
|
* Move default middleware stack into initializerJoshua Peek2009-09-261-4/+0
|
* Fix generic url rewriter in integration testsJoshua Peek2009-09-251-0/+9
|
* Resurrect AC::Benchmarking [#3140 state:resolved]Joshua Peek2009-09-241-12/+11
|
* Fixes Sam Ruby tests suite.José Valim2009-09-211-3/+2
| | | | Signed-off-by: Yehuda Katz <wycats@gmail.com>
* Use NewCallbacks on ActionDispatch::Callbacks.José Valim2009-09-201-8/+10
|
* Add Orchestra instrumentation to fragment and page caching.José Valim2009-09-201-3/+8
|
* Namespace TestControllers inside their test case classJoshua Peek2009-09-194-199/+216
|
* Avoid conflict with a "MetalTest" module used in testsJoshua Peek2009-09-191-1/+1
|
* Avoid conflicts with another ContentTypeController used in testingJoshua Peek2009-09-191-8/+7
|
* Make sure caching test is using a generatable urlJoshua Peek2009-09-191-2/+2
|
* Beef up AD::Rescue to replace global exception handling lost in ↵Joshua Peek2009-09-151-22/+13
| | | | ApplicationController
* Remove global exception catching from ApplicationController.Joshua Peek2009-09-151-12/+12
| | | It was severely broken since it was ported to NewBase and is causing problems with normal exception catching. A replacement is coming soon.
* Rewrite resource routing tests that are coupled to the router implementationJoshua Peek2009-09-131-2/+3
|
* Need to reset session for AP rescue tests after altering the route setJoshua Peek2009-09-131-0/+1
|
* Fix filtering parameters when there are Fixnum or other un-dupable values.Nathaniel Talbott2009-09-101-0/+1
| | | | | | [#3184 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Use draw/connect mapper api instead of directly using add_named_routeJoshua Peek2009-09-061-12/+34
|
* Add fake controllers for url rewriter testsJoshua Peek2009-09-061-0/+1
|
* Need to reset session in internal integration tests after altering the route setJoshua Peek2009-09-061-0/+1
|
* Fix isolated running of AddressesTestJoshua Peek2009-09-061-6/+2
|
* Fix isolated running of ActionPackAssertionTestJoshua Peek2009-09-061-0/+1
|
* Fix failing isolated routing testJoshua Peek2009-09-051-16/+16
|
* Fix the */* with Net::HTTP bug [#3100 state:resolved]Yehuda Katz + Carl Lerche2009-09-011-1/+1
|
* Ensure that blocks are also handled inside the responder.José Valim2009-08-291-0/+7
|
* Reset session in integration tests after changing routes to reload the ↵Joshua Peek2009-08-271-0/+1
| | | | middleware stack
* UrlRewriter#rewrite_url should call #to_param on the value given in :anchor ↵Jeffrey Hardy2009-08-261-0/+26
| | | | | | | | option, just as #url_for does [#2746 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Track all AC base subclasses as possible controllers for internal testingJoshua Peek2009-08-253-81/+16
|
* Move legacy param_parsers config onto AD::ParamsParserJoshua Peek2009-08-211-62/+67
|
* Cleanup route reloading in tests. Prefer with_routing over using ↵Joshua Peek2009-08-1612-134/+129
| | | | ActionController::Routing::Routes directly
* Axe "best fit" generation supportJoshua Peek2009-08-151-12/+0
|