aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller
Commit message (Collapse)AuthorAgeFilesLines
...
* Optimized tag_options to not sort keys, which is no longer necessary when ↵David Heinemeier Hansson2005-09-201-1/+1
| | | | | | assert_dom_equal and friend is available #1995 [skae]. Added assert_dom_equal and assert_dom_not_equal to compare tags generated by the helpers in an order-indifferent manner #1995 [skae] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2271 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that Request#domain caused an exception if the domain header wasn't ↵David Heinemeier Hansson2005-09-201-0/+6
| | | | | | set in the original http request #1795 [Michael Koziarski] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2270 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add routing tests from #1945Nicholas Seckar2005-09-181-2/+55
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2257 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add a routing test case covering #2101Nicholas Seckar2005-09-181-1/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2256 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cache relative_url_root for all webservers, not just Apache #2193 [skae]David Heinemeier Hansson2005-09-151-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2246 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Included UrlRewriter tests in rake run and made them not depend on Hash orderDavid Heinemeier Hansson2005-09-151-5/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2244 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made base_tests.rb run as part of rakeDavid Heinemeier Hansson2005-09-151-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2243 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added easy assignment of fragment cache store through use of symbols for ↵David Heinemeier Hansson2005-09-132-0/+55
| | | | | | included stores (old way still works too) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2230 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add ability to specify Route Regexps for controllers. Closes #1917.Nicholas Seckar2005-09-111-0/+38
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2205 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Provide Named Route's hash methods as helper methods. Closes #1744.Nicholas Seckar2005-09-111-0/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2204 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Kernel#silence_warnings and puts it into use throughout the frameworkDavid Heinemeier Hansson2005-09-111-3/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2179 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that render :partial would fail when :object was a Hash (due to ↵David Heinemeier Hansson2005-09-091-0/+9
| | | | | | backwards compatibility issues) #2148 [Sam Stephenson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2160 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix overwrite params. Closes #1909Nicholas Seckar2005-09-061-0/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2144 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* AbstractRequest#domain returns nil when host is an ip address #2012 ↵Jamis Buck2005-09-021-0/+3
| | | | | | [kevin.clark@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2098 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Yield @content_for_ variables to templates #2058 [Sam Stephenson]Jamis Buck2005-09-011-0/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2094 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make rendering an empty partial collection behave like :nothing => true ↵Jamis Buck2005-09-011-0/+9
| | | | | | #2080 [Sam Stephenson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2093 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Render refactoring; render error reporting fixesNicholas Seckar2005-08-261-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2058 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Prevent the benchmark module from blowing up if a non-HTTP/1.1 request is ↵Jamis Buck2005-08-231-0/+36
| | | | | | processed git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2039 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add an :if option to session management, to allow programmatically enabling ↵Jamis Buck2005-08-171-0/+14
| | | | | | or disabling the session git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2031 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make assert_redirected_to properly check URL's passed as strings #1910 ↵Jamis Buck2005-08-062-0/+11
| | | | | | [Scott Barron] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1971 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure :layout => false is always used when rendering inside a layoutJamis Buck2005-08-051-1/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1970 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use raise instead of assert_not_nil in Test::Unit::TestCase#process to ↵Jamis Buck2005-08-011-0/+17
| | | | | | ensure that the test variables (controller, request, response) have been set git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1963 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure assigns are built for every request when testing #1866Jamis Buck2005-07-312-1/+21
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1961 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow remote_addr to be queried on TestRequest #1668Jamis Buck2005-07-311-1/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1960 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed bug when a partial render was passing a local with the same name as ↵David Heinemeier Hansson2005-07-271-1/+1
| | | | | | the partial git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1942 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Demonstrate breakage betterDavid Heinemeier Hansson2005-07-271-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1941 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added two failing tests for partials with locals from controllerDavid Heinemeier Hansson2005-07-271-0/+27
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1937 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved performance of test app req/sec with ~10% refactoring the render ↵David Heinemeier Hansson2005-07-245-21/+21
| | | | | | method #1823 [Stefan Kaes] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1915 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed regression for content_for #1820 [Stefan Kaes]David Heinemeier Hansson2005-07-241-0/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1911 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved performance with 5-30% through a series of Action Pack ↵David Heinemeier Hansson2005-07-233-3/+17
| | | | | | optimizations #1811 [Stefan Kaes] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1905 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added test for template to layout variable transferDavid Heinemeier Hansson2005-07-231-0/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1904 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add unit test to ensure that session management options are inherited and ↵Jamis Buck2005-07-221-0/+20
| | | | | | overridable in subclasses git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1888 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for per-action session management #1763Jamis Buck2005-07-221-0/+50
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1886 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved rendering speed on complicated templates by up to 25% #1234 ↵David Heinemeier Hansson2005-07-213-8/+19
| | | | | | [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
* Fixed construction of get parameters for arraysNicholas Seckar2005-07-182-31/+58
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1857 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix assert_routing with nested controllers. Closes #1582 and #1386.Nicholas Seckar2005-07-153-25/+36
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1837 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add RouteSet#named_route so that RouteSet instance methods do not shadow ↵Nicholas Seckar2005-07-141-0/+12
| | | | | | available route names git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1834 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Provide correct defaults for Named Routes which do not specify :actionNicholas Seckar2005-07-141-0/+27
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1833 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made pagination faster #1334 [Stefan Kaes]David Heinemeier Hansson2005-07-141-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1832 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made test_rendering_nothing_on_layout acknowledge the spaceDavid Heinemeier Hansson2005-07-141-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1831 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Generate URLs for :action => index when :action => nil is supplied.Nicholas Seckar2005-07-141-4/+38
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1826 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Named routes should not provide nil values to url_for. Includes factoring ↵Nicholas Seckar2005-07-131-0/+36
| | | | | | and extra testcases. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1825 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make Request#subdomains handle "foo.foo.com" correctlyJamis Buck2005-07-121-0/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1817 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r2992@asus: jeremy | 2005-07-10 02:43:49 -0700Jeremy Kemper2005-07-101-2/+8
| | | | | | | Skip ActiveRecordStore tests if neither SQLite 2 nor 3 is available. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1793 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved error message for DoubleRenderErrorJamis Buck2005-07-091-0/+27
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1779 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r2948@asus: jeremy | 2005-07-08 16:00:23 -0700Jeremy Kemper2005-07-081-1/+1
| | | | | | | Use save instead of save! in ARStore test also. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1773 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Routes now raise an exception if a path component is misconfigured.Nicholas Seckar2005-07-081-0/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1769 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix routes to generate proper URLs when given Fixnum defaultsNicholas Seckar2005-07-081-0/+22
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1768 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Enable routes to recognize uppercase controller names. Closes #1635Nicholas Seckar2005-07-071-0/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1765 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Properly unescape recognized path components. Fixes #1651.Nicholas Seckar2005-07-071-0/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1764 5ecf4fe2-1ee6-0310-87b1-e25e094e27de