Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Changing directories during the test breaks file loading when ran by itself | Joshua Peek | 2009-10-03 | 2 | -32/+22 |
| | |||||
* | Don't load rubygems for isolated tests | Joshua Peek | 2009-10-03 | 1 | -2/+3 |
| | |||||
* | Move improved isolated test runner to AP | Joshua Peek | 2009-10-03 | 1 | -0/+16 |
| | |||||
* | File extra test folders into controller, dispatch, or template | Joshua Peek | 2009-10-03 | 25 | -17/+16 |
| | |||||
* | Add custom "with_routing" to internal tests to fix reseting session after using | Joshua Peek | 2009-10-03 | 14 | -20/+30 |
| | | | | with_routing. This only affects our internal AP tests. | ||||
* | Ported the new ActionView::TestCase from 2-3-stable to master [#3260 | Erik Ostrom | 2009-09-28 | 4 | -11/+175 |
| | | | | | | | | | | | | | | | | | state:resolved] The test case now mimicks the template environment more closely, so it's possible to use render, load helper dependencies. This also fixes assert_select, and similar assertions. Because view tests and helpers generally don't render full templates assert_select looks first in rendered and then in output_buffer to find the rendered output. Additional `master'-only changes: Made the Action Pack Rakefile run the ActionView::TestCase tests, and made ActionView::Rendering#_render_text always return a string. Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Introduce :almost keyword for distance_of_time_in_words. Make 1.75 days - 2 ↵ | John Trupiano | 2009-09-28 | 2 | -21/+37 |
| | | | | | | | days return '2 days'. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#3266 state:committed] | ||||
* | Enhancing distance_of_time_in_words to prefix year output with over and ↵ | Jay Pignata | 2009-09-28 | 1 | -7/+8 |
| | | | | | | | about depending upon how many months have elapsed Signed-off-by: Michael Koziarski <michael@koziarski.com> [#3106 state:committed] | ||||
* | 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 | 2 | -7/+8 |
| | |||||
* | Allow integration test rack app to be set with "@app" ivar instead of using ↵ | Joshua Peek | 2009-09-26 | 7 | -25/+19 |
| | | | | open_session | ||||
* | Fix skipping memcache tests if a memcache server isn't running | Joshua Peek | 2009-09-26 | 1 | -0/+4 |
| | |||||
* | 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 | 3 | -13/+7 |
| | |||||
* | AC::Dispatcher is the default app, don't need to set it | Joshua Peek | 2009-09-26 | 1 | -4/+0 |
| | |||||
* | Clean up session integration tests so they don't reference AC::Dispatcher | Joshua Peek | 2009-09-26 | 3 | -52/+15 |
| | |||||
* | Move Rails::Static into ActionDispatch | Joshua Peek | 2009-09-26 | 4 | -0/+38 |
| | |||||
* | Fix generic url rewriter in integration tests | Joshua Peek | 2009-09-25 | 1 | -0/+9 |
| | |||||
* | Restore split between require-time and runtime load path mungery. Simplifies ↵ | Jeremy Kemper | 2009-09-24 | 1 | -1/+1 |
| | | | | vendor requires. | ||||
* | Resurrect AC::Benchmarking [#3140 state:resolved] | Joshua Peek | 2009-09-24 | 1 | -12/+11 |
| | |||||
* | Move helpers specific to functional tests out of TestProcess into AC::TestCase | Joshua Peek | 2009-09-23 | 1 | -11/+3 |
| | |||||
* | Move integration test runner into ActionDispatch | Joshua Peek | 2009-09-23 | 1 | -2/+0 |
| | |||||
* | 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 |
| | |||||
* | Ensure changes to I18n locale get reset during tests | Joshua Peek | 2009-09-19 | 3 | -14/+14 |
| | |||||
* | Follow short name convention for test folder and just call it "abstract" | Joshua Peek | 2009-09-19 | 14 | -0/+0 |
| | |||||
* | Merge bundler helper into abstract_unit | Joshua Peek | 2009-09-19 | 2 | -12/+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 |
| | |||||
* | All on one base, don't need this | Joshua Peek | 2009-09-19 | 1 | -3/+0 |
| | |||||
* | Avoid conflicts with another ContentTypeController used in testing | Joshua Peek | 2009-09-19 | 5 | -8/+7 |
| | |||||
* | All on one abstract_unit | Joshua Peek | 2009-09-19 | 22 | -143/+92 |
| | |||||
* | There is only one base now | Joshua Peek | 2009-09-19 | 1 | -1/+0 |
| | |||||
* | 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. | ||||
* | Use abort | Jeremy Kemper | 2009-09-13 | 1 | -2/+1 |
| | |||||
* | Don't run `gem bundle` by default | Joshua Peek | 2009-09-13 | 1 | -22/+3 |
| | |||||
* | Rollback AS bundler work and improve activation of vendored dependencies | Joshua Peek | 2009-09-13 | 2 | -2/+2 |
| | |||||
* | 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 |
| | |||||
* | Define weblog controller for url helper test | Joshua Peek | 2009-09-13 | 2 | -0/+2 |
| | |||||
* | AP tests: detect missing dependencies and automatically run bundler | Joshua Peek | 2009-09-13 | 3 | -4/+34 |
| | |||||
* | Merge abstract_controller/test_helper and new_base/test_helper since they ↵ | Joshua Peek | 2009-09-13 | 25 | -73/+45 |
| | | | | are expected to run in the same testing sandbox | ||||
* | Remove dead old base abstract unit | Joshua Peek | 2009-09-13 | 1 | -46/+0 |
| | |||||
* | Need to declare optional dependencies from AS | Joshua Peek | 2009-09-13 | 1 | -0/+3 |
| | |||||
* | Don't force test suite to use bundler | Joshua Peek | 2009-09-13 | 2 | -2/+8 |
| | |||||
* | Merge commit 'alloy/master-nested_attributes_and_autosave' | Michael Koziarski | 2009-09-13 | 1 | -0/+36 |
|\ | |||||
| * | Allow fields_for on a nested_attributes association to accept an explicit ↵ | Andrew France | 2009-09-12 | 1 | -0/+36 |
| | | | | | | | | | | | | collection to be used. [#2648 state:resolved] Signed-off-by: Eloy Duran <eloy.de.enige@gmail.com> |