aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Make the truncate() helper multi-byte safe (assuming $KCODE has been set to ↵Jamis Buck2005-09-192-0/+51
| | | | | | something other than "NONE") #2103 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2265 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
* Make upload progress not throw JavaScript errors when there is no progress ↵David Heinemeier Hansson2005-09-161-140/+4
| | | | | | bar #2208 [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2252 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
* More auto-link fixes (to include query strings in autolinked text)Jamis Buck2005-09-141-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2241 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix autolinking to not include trailing tags as part of the URLJamis Buck2005-09-131-0/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2237 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
* Added ActionController::Base.session_store=, session_store, and ↵David Heinemeier Hansson2005-09-131-1/+1
| | | | | | session_options to make it easier to tweak the session options (instead of going straight to ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2228 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added TextHelper#cycle to cycle over an array of values on each hit (useful ↵David Heinemeier Hansson2005-09-121-0/+89
| | | | | | for alternating row colors etc) #2154 [dave-ml@dribin.org] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2213 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
* Split macros test into their own suiteDavid Heinemeier Hansson2005-09-112-28/+52
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2194 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :multipart option to ActiveRecordHelper#form to make it possible to ↵David Heinemeier Hansson2005-09-111-0/+7
| | | | | | add file input fields #2034 [jstirk@oobleyboo.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2193 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :disabled option to all data selects that'll make the elements ↵David Heinemeier Hansson2005-09-111-2/+60
| | | | | | inaccessible for change #2167, #253 [eigentone] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2184 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that TextHelper#auto_link_urls would include punctuation in the links ↵David Heinemeier Hansson2005-09-111-1/+15
| | | | | | #2166, #1671 [eigentone] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2183 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Kernel#silence_warnings and puts it into use throughout the frameworkDavid Heinemeier Hansson2005-09-113-16/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2179 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that number_to_currency(1000, {:precision => 0})) should return ↵David Heinemeier Hansson2005-09-091-0/+2
| | | | | | "$1,000", instead of "$1,000." #2122 [sd@notso.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2170 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that render :partial would fail when :object was a Hash (due to ↵David Heinemeier Hansson2005-09-092-0/+10
| | | | | | backwards compatibility issues) #2148 [Sam Stephenson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2160 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed JavascriptHelper#auto_complete_for to only include unique items #2153 ↵David Heinemeier Hansson2005-09-091-0/+4
| | | | | | [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2159 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that onclick would be overridden even when special features werent usedDavid Heinemeier Hansson2005-09-081-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2158 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed all AssetHelper methods to work with relative paths, such that ↵David Heinemeier Hansson2005-09-081-0/+1
| | | | | | javascript_include_tag('stdlib/standard') will look in /javascripts/stdlib/standard instead of '/stdlib/standard/' #1963 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2156 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed a broken testDavid Heinemeier Hansson2005-09-081-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2155 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use this.href, not unexisting urlDavid Heinemeier Hansson2005-09-071-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2150 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :post option to UrlHelper#link_to that makes it possible to do POST ↵David Heinemeier Hansson2005-09-071-0/+18
| | | | | | requests through normal ahref links using Javascript git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2149 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
* Added :popup option to UrlHelper#link_to #1996 [gabriel.gironda@gmail.com]David Heinemeier Hansson2005-09-041-0/+26
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2129 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-012-0/+11
| | | | 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-262-0/+64
| | | | 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
* Added :use_short_month option to select_month helper to show month names as ↵Jamis Buck2005-08-221-0/+18
| | | | | | abbreviations git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2033 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 link_to escape the javascript in the confirm option #1964 ↵Jamis Buck2005-08-141-0/+4
| | | | | | [nicolas.pouillard@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2009 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-273-3/+4
| | | | 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-272-1/+28
| | | | 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-246-21/+22
| | | | | | 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-243-1/+12
| | | | 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-233-0/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1904 5ecf4fe2-1ee6-0310-87b1-e25e094e27de