Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Drop legacy support for case insensitive controller recognition | Joshua Peek | 2009-10-17 | 1 | -11/+0 |
| | |||||
* | Fix brittle query string comparisons | Joshua Peek | 2009-10-17 | 1 | -5/+5 |
| | |||||
* | Fix brittle query string comparisons | Joshua Peek | 2009-10-17 | 1 | -7/+18 |
| | |||||
* | Fix standalone run of routing test. Only reference controllers that are ↵ | Joshua Peek | 2009-10-17 | 1 | -8/+8 |
| | | | | provided in fake_controllers | ||||
* | Stop using with_controllers in tests | Joshua Peek | 2009-10-17 | 1 | -96/+72 |
| | |||||
* | No longer need this special routing exception message because these kinds of ↵ | Joshua Peek | 2009-10-17 | 1 | -13/+0 |
| | | | | ambiguous generations are deprecated | ||||
* | Drop support for routing :generate_all | Joshua Peek | 2009-10-17 | 1 | -14/+0 |
| | |||||
* | Invalid route requirements should always raise an exception even if they are ↵ | Joshua Peek | 2009-10-17 | 1 | -8/+0 |
| | | | | unused | ||||
* | Merge branch 'master' into orchestra | Jeremy Kemper | 2009-10-15 | 3 | -4/+4 |
|\ | |||||
| * | Rack responses need to wrap Strings in 1.9 | Yehuda Katz | 2009-10-15 | 1 | -1/+1 |
| | | |||||
| * | Update MetalTest for constant scoping change in 1.9 | Yehuda Katz | 2009-10-15 | 1 | -2/+2 |
| | | |||||
| * | Fix test to correctly handle 1.9 Array#to_s behavior | Yehuda Katz | 2009-10-15 | 1 | -1/+1 |
| | | |||||
* | | Renamed Orchestra to Notifications once again [#3321 state:resolved] | José Valim | 2009-10-15 | 1 | -1/+1 |
| | | |||||
* | | Instrument cache store events only if required. | José Valim | 2009-10-15 | 1 | -1/+1 |
| | | |||||
* | | Update Orchestra instrumentations and move part of logging to Orchestra. | José Valim | 2009-10-15 | 1 | -8/+1 |
| | | |||||
* | | Revert "Rename Orchestra to Notifications [#3321 state:resolved]" | José Valim | 2009-10-15 | 1 | -2/+2 |
|/ | | | | This reverts commit 8cbf825425dc8ad3770881ea4e100b9023c69ce2. | ||||
* | Merge branch 'arel' | Jeremy Kemper | 2009-10-14 | 1 | -6/+10 |
|\ | |||||
| * | Clarify AR dependency | Jeremy Kemper | 2009-10-14 | 1 | -6/+10 |
| | | |||||
* | | Rename Orchestra to Notifications [#3321 state:resolved] | Joshua Peek | 2009-10-14 | 1 | -2/+2 |
|/ | |||||
* | Make IntegrationTest::Runner propagate method_missing to ancestors. | George Ogata | 2009-10-15 | 1 | -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 Smith | 2009-10-15 | 1 | -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 Hash | Jeffrey Hardy | 2009-10-14 | 1 | -0/+7 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Kill mock routing assertion that tests router implementation | Joshua Peek | 2009-10-10 | 1 | -13/+0 |
| | |||||
* | Relative url generations are covered more thoroughly by url rewriter tests | Joshua Peek | 2009-10-10 | 1 | -12/+0 |
| | |||||
* | Drop implementation specific routing test assertions | Joshua Peek | 2009-10-10 | 1 | -3/+0 |
| | |||||
* | Switch to on-by-default XSS escaping for rails. | Michael Koziarski | 2009-10-08 | 2 | -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 set | Joshua Peek | 2009-10-03 | 3 | -87/+102 |
| | |||||
* | Redraw default routes on all internal integration tests. We don't need ↵ | Joshua Peek | 2009-10-03 | 13 | -26/+26 |
| | | | | SimpleRouteCase anymore | ||||
* | Avoid creating new controller constants during test runtime. All routable ↵ | Joshua Peek | 2009-10-03 | 1 | -59/+3 |
| | | | | controllers should be defined beforehand. | ||||
* | Changing directories during the test breaks file loading when ran by itself | Joshua Peek | 2009-10-03 | 1 | -32/+21 |
| | |||||
* | File extra test folders into controller, dispatch, or template | Joshua Peek | 2009-10-03 | 16 | -0/+1402 |
| | |||||
* | Add custom "with_routing" to internal tests to fix reseting session after using | Joshua Peek | 2009-10-03 | 3 | -6/+1 |
| | | | | with_routing. This only affects our internal AP tests. | ||||
* | Move middleware and route configuration from AC::Dispatcher to Rails ↵ | Joshua Peek | 2009-09-26 | 1 | -7/+5 |
| | | | | application object | ||||
* | Allow setting a default application for all integration tests | Joshua Peek | 2009-09-26 | 1 | -2/+1 |
| | |||||
* | Allow integration test rack app to be set with "@app" ivar instead of using ↵ | Joshua Peek | 2009-09-26 | 3 | -8/+5 |
| | | | | open_session | ||||
* | Remove deprecated calls to Dispatcher.to_prepare | Joshua Peek | 2009-09-26 | 1 | -10/+5 |
| | |||||
* | Move default middleware stack into initializer | Joshua Peek | 2009-09-26 | 1 | -4/+0 |
| | |||||
* | Fix generic url rewriter in integration tests | Joshua Peek | 2009-09-25 | 1 | -0/+9 |
| | |||||
* | Resurrect AC::Benchmarking [#3140 state:resolved] | Joshua Peek | 2009-09-24 | 1 | -12/+11 |
| | |||||
* | Fixes Sam Ruby tests suite. | José Valim | 2009-09-21 | 1 | -3/+2 |
| | | | | Signed-off-by: Yehuda Katz <wycats@gmail.com> | ||||
* | Use NewCallbacks on ActionDispatch::Callbacks. | José Valim | 2009-09-20 | 1 | -8/+10 |
| | |||||
* | Add Orchestra instrumentation to fragment and page caching. | José Valim | 2009-09-20 | 1 | -3/+8 |
| | |||||
* | Namespace TestControllers inside their test case class | Joshua Peek | 2009-09-19 | 4 | -199/+216 |
| | |||||
* | Avoid conflict with a "MetalTest" module used in tests | Joshua Peek | 2009-09-19 | 1 | -1/+1 |
| | |||||
* | Avoid conflicts with another ContentTypeController used in testing | Joshua Peek | 2009-09-19 | 1 | -8/+7 |
| | |||||
* | Make sure caching test is using a generatable url | Joshua Peek | 2009-09-19 | 1 | -2/+2 |
| | |||||
* | Beef up AD::Rescue to replace global exception handling lost in ↵ | Joshua Peek | 2009-09-15 | 1 | -22/+13 |
| | | | | ApplicationController | ||||
* | Remove global exception catching from ApplicationController. | Joshua Peek | 2009-09-15 | 1 | -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 implementation | Joshua Peek | 2009-09-13 | 1 | -2/+3 |
| | |||||
* | Need to reset session for AP rescue tests after altering the route set | Joshua Peek | 2009-09-13 | 1 | -0/+1 |
| |