aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/abstract_unit.rb
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Remove unused ignore_missing_templates optionPratik Naik2008-04-191-1/+0
|
* Introduce ActionView::TestCase for testing view helpers.Joshua Peek2008-04-191-0/+1
|
* Move Railties' Dispatcher to ActionController::Dispatcher, introduce before_ ↵Jeremy Kemper2007-09-261-1/+2
| | | | | | and after_dispatch callbacks, and warm up to non-CGI requests. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7640 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't croak if ruby-debug isn't installed.Jeremy Kemper2007-05-281-1/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6876 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added custom path cache_page/expire_page parameters in addition to the ↵David Heinemeier Hansson2007-05-271-0/+2
| | | | | | options hashes [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6868 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce the request.body stream. Lazy-read to parse parameters rather than ↵Jeremy Kemper2007-05-151-0/+2
| | | | | | always setting RAW_POST_DATA. Reduces the memory footprint of large binary PUT requests. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6740 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed breakpointer and Binding.of_caller in favor of relying on ruby-debug ↵David Heinemeier Hansson2007-04-281-1/+0
| | | | | | by Kent Sibilev since the breakpointer has been broken since Ruby 1.8.4 and will not be coming back [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6611 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* add ActionView::Base#find_template_extension_for testsRick Olson2007-04-011-2/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6498 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Wrap and skip tests using mocha.Jeremy Kemper2007-01-141-0/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5926 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* set ActiveSupport::Deprecation.debug = true to see backtraces for ↵Jeremy Kemper2006-09-041-1/+4
| | | | | | deprecation callers. off by default. on for Rails tests. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4966 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Clean up and run the Active Record integration tests by default. Closes #5854.Jeremy Kemper2006-08-221-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4807 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added new infrastructure support for REST webservices.Tobias Lütke2006-03-051-2/+2
| | | | | | | | | | | | | | | | | By default application/xml posts are handled by creating a XmlNode object with the same name as the root element of the submitted xml. M$ ActionController::Base.param_parsers['application/atom+xml'] = Proc.new do |data| node = REXML::Document.new(post) { node.root.name => node.root } end XmlSimple and Yaml web services were retired, ActionController::Base.param_parsers carries an example which shows how to get this functio$ request.[formatted_post?, xml_post?, yaml_post? and post_format] were all deprecated in favor of request.content_type [Tobias Luetke] Closes #4081 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3777 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added FormHelper#form_for and FormHelper#fields_for that makes it easier to ↵David Heinemeier Hansson2005-11-131-1/+2
| | | | | | work with forms for single objects also if they don't reside in instance variables [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3003 5ecf4fe2-1ee6-0310-87b1-e25e094e27de