aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Try to load lib before trying to activate the gem for testingJoshua Peek2009-10-051-2/+6
|
* Put test in place for deprecated dispatcherJoshua Peek2009-10-051-0/+7
|
* More robust console testJoshua Peek2009-10-053-43/+56
|
* Revert "Revert "Fix Dispatch.new so passenger works" as it broke the build"Joshua Peek2009-10-051-1/+1
| | | | This reverts commit 49b52cadc2e66c11a025e7719837ae77b3736046.
* Revert "Fix Dispatch.new so passenger works" as it broke the buildMichael Koziarski2009-10-051-1/+1
| | | | This reverts commit c97c31b096e627480b64403d1460065738941c3e.
* Fix Dispatch.new so passenger worksJoshua Peek2009-10-041-1/+1
|
* Only draw default route onceJoshua Peek2009-10-031-22/+37
|
* Use with_routing helper in tests instead of modifying global route setJoshua Peek2009-10-034-101/+125
|
* Redraw default routes on all internal integration tests. We don't need ↵Joshua Peek2009-10-0315-41/+34
| | | | SimpleRouteCase anymore
* Avoid creating new controller constants during test runtime. All routable ↵Joshua Peek2009-10-032-68/+21
| | | | controllers should be defined beforehand.
* Run AP isolated tests on CIJoshua Peek2009-10-031-0/+1
|
* Moved shared form helper models into fake_modelsJoshua Peek2009-10-033-99/+98
|
* NumberHelper depends on big decimal extensionsJoshua Peek2009-10-031-0/+1
|
* Changing directories during the test breaks file loading when ran by itselfJoshua Peek2009-10-032-32/+22
|
* Don't load rubygems for isolated testsJoshua Peek2009-10-031-2/+3
|
* Move improved isolated test runner to APJoshua Peek2009-10-032-6/+21
|
* File extra test folders into controller, dispatch, or templateJoshua Peek2009-10-0326-18/+17
|
* Add custom "with_routing" to internal tests to fix reseting session after usingJoshua Peek2009-10-0314-20/+30
| | | | with_routing. This only affects our internal AP tests.
* Cleanup whitespace introduced in 8377646 and f4f6888Joshua Peek2009-10-023-55/+47
|
* add indifferent access to the attributesTaryn East2009-10-023-1/+30
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* update_attribute(s) added to Active ResourceTaryn East2009-10-022-2/+81
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Initialize a new instance of Rails.application during integration testsCarl Lerche2009-09-301-1/+1
| | | This is to fix the AWDWR tests until the application object is refactored to be a singleton.
* Remove all calls to Rails::Initializer from boot.rbCarl Lerche2009-09-306-49/+70
| | | | This is starting a refactor of the rails initialization process. The boot.rb file will not remain the same.
* Remove a duplicate initializerCarl Lerche2009-09-291-12/+0
|
* Change Rails::Application to a class that is inherited from.Carl Lerche2009-09-295-30/+25
| | | This is still very experimental.
* Remove unneeded files from the railties test directoryCarl Lerche2009-09-2914-56/+0
|
* Fix the broken railties isolation testsCarl Lerche2009-09-298-121/+86
|
* Create the application object from config/environment.rbYehuda Katz + Carl Lerche2009-09-286-59/+46
| | | | | This is preliminary and not necessarily reflective of the full plan.
* Ported the new ActionView::TestCase from 2-3-stable to master [#3260Erik Ostrom2009-09-288-38/+278
| | | | | | | | | | | | | | | | | 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>
* Remove SQLite2 from CI setupMike Gunderloy2009-09-282-4/+2
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Make has_one with :conditions hash scope build or creation of the associated ↵Luciano G Panaro2009-09-285-3/+34
| | | | | | | object with those conditions Signed-off-by: Michael Koziarski <michael@koziarski.com> [#3088 state:committed]
* Escaping symbol passed into Memoizable's flush_cache for query methods to ↵Jay Pignata2009-09-282-3/+12
| | | | | | | | allow them to be cleared Signed-off-by: Michael Koziarski <michael@koziarski.com> [#3138 state:committed]
* Allow PKG_NAME env variable to control the directory name used when 'rake ↵John Trupiano2009-09-281-1/+1
| | | | | | | dev' is used to generate a new rails app. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#3278 state:committed]
* Prefer tap to returningMatias Flores2009-09-281-1/+1
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#3280 state:committed]
* Introduce :almost keyword for distance_of_time_in_words. Make 1.75 days - 2 ↵John Trupiano2009-09-284-31/+59
| | | | | | | 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 Pignata2009-09-282-11/+15
| | | | | | | 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 Peek2009-09-269-22/+30
| | | | application object
* Allow setting a default application for all integration testsJoshua Peek2009-09-263-9/+28
|
* Create separate middleware stack for initializerJoshua Peek2009-09-263-5/+3
|
* Allow integration test rack app to be set with "@app" ivar instead of using ↵Joshua Peek2009-09-269-28/+24
| | | | open_session
* Fix skipping memcache tests if a memcache server isn't runningJoshua Peek2009-09-261-0/+4
|
* Remove deprecated calls to Dispatcher.to_prepareJoshua Peek2009-09-262-13/+8
|
* Move default middleware stack into initializerJoshua Peek2009-09-268-40/+22
|
* AC::Dispatcher is the default app, don't need to set itJoshua Peek2009-09-261-4/+0
|
* Clean up session integration tests so they don't reference AC::DispatcherJoshua Peek2009-09-263-52/+15
|
* Pull middleware for Rails info from the initializer instead of ActionControllerJoshua Peek2009-09-263-7/+7
|
* include nokogiri gem, so activesupport nokogiri tests runChad Woolley2009-09-261-0/+2
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* ruby 1.9: Qualify toplevel File reference since config.ru could be eval'd in ↵Joshua Peek2009-09-261-1/+1
| | | | a different scope
* Move Rails::Static into ActionDispatchJoshua Peek2009-09-269-66/+56
|
* Enable static asset server by defaultJoshua Peek2009-09-267-7/+21
|