aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/abstract_unit.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* All on one base, don't need thisJoshua Peek2009-09-191-3/+0
|
* All on one abstract_unitJoshua Peek2009-09-191-4/+72
|
* There is only one base nowJoshua Peek2009-09-191-1/+0
|
* Rollback AS bundler work and improve activation of vendored dependenciesJoshua Peek2009-09-131-1/+1
|
* AP tests: detect missing dependencies and automatically run bundlerJoshua Peek2009-09-131-2/+2
|
* Don't force test suite to use bundlerJoshua Peek2009-09-131-1/+5
|
* Get ActionPack's test running on bundled gems. This should make running ↵Yehuda Katz2009-09-121-7/+2
| | | | tests on new machines, as well as CI, work well.
* ActionPack test helpers need to activate rack gemJoshua Peek2009-09-011-3/+4
|
* Activate rack-test gem before it's required. This shouldn't be necessary, ↵Bryan Helmkamp2009-08-311-0/+2
| | | | but should fix the build for now
* Track all AC base subclasses as possible controllers for internal testingJoshua Peek2009-08-251-0/+12
|
* k, thats really slow, lets notJoshua Peek2009-08-161-8/+0
|
* Cleanup route reloading in tests. Prefer with_routing over using ↵Joshua Peek2009-08-161-1/+10
| | | | ActionController::Routing::Routes directly
* Use safe tmp dirJoshua Peek2009-08-131-0/+2
|
* Move AbstractController to a top-level componentYehuda Katz2009-08-061-1/+0
|
* Replace _action_view with view_context to reflect that it is public and that ↵Yehuda Katz2009-08-061-1/+1
| | | | it does not need to be an ActionView instance
* Define ActiveModel API ComplianceYehuda Katz2009-07-201-0/+1
| | | | | | - Define to_model on AR - Define to_model on ActiveModel::APICompliant - Update test fixtures to be API Compliant - Start using to_model in AP
* Simplify required "ActionView compliant" APIYehuda Katz2009-07-191-1/+1
|
* Remove some defined?(Http) checksYehuda Katz + Carl Lerche2009-06-171-0/+1
|
* Remove exceptions from AbstractUnit so they work in real lifeYehuda Katz + Carl Lerche2009-06-161-58/+1
|
* Get the AR integration tests to passYehuda Katz + Carl Lerche2009-06-151-3/+4
|
* Fix the fixture pathYehuda Katz + Carl Lerche2009-06-151-1/+1
|
* Get tests to run (with failures) without old base aroundYehuda Katz + Carl Lerche2009-06-151-21/+148
|
* Complain if new_base/abstract_unit was already loadedJeremy Kemper2009-05-221-0/+4
|
* Got controller/mime_responds_test.rb running on the new baseYehuda Katz + Carl Lerche2009-05-201-0/+2
|
* Massage setup for old tests on new baseJeremy Kemper2009-05-201-4/+0
|
* 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.
* Implemented redirects and partial rendering in new base.Yehuda Katz + Carl Lerche2009-05-121-0/+4
|
* Bring abstract_controller up to date with rails/masterCarl Lerche & Yehuda Katz2009-04-131-6/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolved all the conflicts since 2.3.0 -> HEAD. Following is a list of commits that could not be applied cleanly or are obviated with the abstract_controller refactor. They all need to be revisited to ensure that fixes made in 2.3 do not reappear in 3.0: 2259ecf368e6a6715966f69216e3ee86bf1a82a7 AR not available * This will be reimplemented with ActionORM or equivalent 06182ea02e92afad579998aa80144588e8865ac3 implicitly rendering a js response should not use the default layout [#1844 state:resolved] * This will be handled generically 893e9eb99504705419ad6edac14d00e71cef5f12 Improve view rendering performance in development mode and reinstate template recompiling in production [#1909 state:resolved] * We will need to reimplement rails-dev-boost on top of the refactor; the changes here are very implementation specific and cannot be cleanly applied. The following commits are implicated: 199e750d46c04970b5e7684998d09405648ecbd4 3942cb406e1d5db0ac00e03153809cc8dc4cc4db f8ea9f85d4f1e3e6f3b5d895bef6b013aa4b0690 e3b166aab37ddc2fbab030b146eb61713b91bf55 ae9f258e03c9fd5088da12c1c6cd216cc89a01f7 44423126c6f6133a1d9cf1d0832b527e8711d40f 0cb020b4d6d838025859bd60fb8151c8e21b8e84 workaround for picking layouts based on wrong view_paths [#1974 state:resolved] * The specifics of this commit no longer apply. Since it is a two-line commit, we will reimplement this change. 8c5cc66a831aadb159f3daaffa4208064c30af0e make action_controller/layouts pick templates from the current instance's view_paths instead of the class view_paths [#1974 state:resolved] * This does not apply at all. It should be trivial to apply the feature to the reimplemented ActionController::Base. 87e8b162463f13bd50d27398f020769460a770e3 fix HTML fallback for explicit templates [#2052 state:resolved] * There were a number of patches related to this that simply compounded each other. Basically none of them apply cleanly, and the underlying issue needs to be revisited. After discussing the underlying problem with Koz, we will defer these fixes for further discussion.
| * Port fast reloadable templates from rails-dev-boost.thedarkone2009-02-121-0/+4
| |
| * Added support to dashed locales in templates localization [#1888 state:resolved]José Valim2009-02-061-0/+1
| | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * Bump mocha requirement for Ruby 1.9 compat. Remove uses_mocha.Jeremy Kemper2009-02-031-5/+1
| |
| * Fix unsorted array comparisonJeremy Kemper2009-01-311-1/+1
| |
* | Merge commit 'rails/3-0-unstable'Yehuda Katz2009-01-301-2/+1
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | Conflicts: actionpack/lib/action_controller/base.rb actionpack/lib/action_dispatch/http/mime_type.rb actionpack/lib/action_dispatch/http/request.rb actionpack/lib/action_view/base.rb actionpack/lib/action_view/paths.rb actionpack/test/controller/session/cookie_store_test.rb actionpack/test/dispatch/rack_test.rb actionpack/test/dispatch/request_test.rb
| * Reorganize ActionController folder structureJoshua Peek2009-01-271-2/+1
| |
* | Add localized templatesJoshua Peek2009-01-251-0/+4
|/ | | | | | | | # Default locale app/views/messages/index.html.erb # I18n.locale is set to :da (Danish) app/views/messages/index.da.html.erb
* Clean up view path cruft and split path implementations into Template::Path ↵Joshua Peek2008-12-291-1/+0
| | | | and Template::EagerPath
* Switch to Rack based session stores.Joshua Peek2008-12-151-0/+2
|
* Merge branch 'master' of git@github.com:rails/railsJeremy Kemper2008-11-291-1/+1
|\
| * Reinstate "Super lazy load view paths in development mode (no indexing or ↵Joshua Peek2008-11-281-1/+1
| | | | | | | | caching at all). Switch layout finders to use view path api to take advantage of cache." as it killed dev mode reloading."
| * Revert "Super lazy load view paths in development mode (no indexing or ↵David Heinemeier Hansson2008-11-271-1/+1
| | | | | | | | | | | | caching at all). Switch layout finders to use view path api to take advantage of cache." as it killed dev mode reloading. This reverts commit 4d910b033379727e5e7355590c50c72fc75e56db.
| * Super lazy load view paths in development mode (no indexing or caching at ↵Joshua Peek2008-11-261-1/+1
| | | | | | | | all). Switch layout finders to use view path api to take advantage of cache.
* | Turn on debugger autoevalJeremy Kemper2008-11-291-0/+1
|/
* Require Mocha >= 0.9.3 which includes a MiniTest adapterJeremy Kemper2008-11-231-1/+1
|
* Allow helpers directory to be overridden via ↵Sam Pohlenz2008-11-231-0/+1
| | | | | | ActionController::Base.helpers_dir (Sam Pohlenz) [#1424 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Mocha >= 0.9.0 must be available for Action Pack testsJeremy Kemper2008-11-191-12/+10
|
* Fixed load path for actionmailer and activesupport tests to always load from ↵madlep2008-10-041-1/+1
| | | | | | | | local lib files. [#983 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Fixed template recompile logic [#630 state:resolved]Stefan Kaes2008-07-161-0/+1
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Removed config.action_view.cache_template_loading, use config.cache_classes ↵Joshua Peek2008-07-151-1/+0
| | | | instead
* Set global ActionController::Base.view_paths for test casesJoshua Peek2008-07-121-1/+3
|
* Set precompiled fixture load path constant to speed up testsJoshua Peek2008-06-251-0/+1
|