aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/abstract_unit.rb
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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
* Improved performance of test app req/sec with ~10% refactoring the render ↵David Heinemeier Hansson2005-07-241-0/+1
| | | | | | method #1823 [Stefan Kaes] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1915 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved rendering speed on complicated templates by up to 25% #1234 ↵David Heinemeier Hansson2005-07-211-1/+1
| | | | | | [Stephan Kaes]. This did necessasitate a change to the internals of ActionView#render_template that now has four parameters. Developers of custom view handlers (like Amrita) need to update for that. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1874 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved performance of Routes generation by a factor of 5 #1434 [Nicholas ↵David Heinemeier Hansson2005-06-241-1/+1
| | | | | | Seckar] Added named routes (NEEDS BETTER DESCRIPTION) #1434 [Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1496 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Clean up load paths to avoid unit test interaction #1113 ↵David Heinemeier Hansson2005-04-171-0/+1
| | | | | | [alles@atomicobject.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1174 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that assert_template_xpath_matches did not indicate when a path was ↵David Heinemeier Hansson2005-02-181-1/+2
| | | | | | not found #658 [Eric Hodel] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@665 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Skip Active Record tests in Action Pack if the SQLite database cant be ↵David Heinemeier Hansson2005-02-171-0/+1
| | | | | | brought up git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@652 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* InitialDavid Heinemeier Hansson2004-11-241-0/+9
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4 5ecf4fe2-1ee6-0310-87b1-e25e094e27de