aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate standalone components.Jeremy Kemper2006-11-161-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5536 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove dead abort_tests method.Jeremy Kemper2006-11-151-9/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5526 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* assert_select_rjs :removeJeremy Kemper2006-11-151-0/+21
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5525 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix failing test fallback when neither SQLite 2 or 3 is available.Jeremy Kemper2006-11-151-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5524 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Always clear model associations from session. Closes #4795.Jeremy Kemper2006-11-131-0/+51
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5512 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* test controller rescuesJeremy Kemper2006-11-133-0/+214
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5504 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* silence const_set warningJeremy Kemper2006-11-131-4/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5503 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* update_element_function is deprecatedJeremy Kemper2006-11-131-10/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5501 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Multipart form values may have a content type without being treated as ↵Jeremy Kemper2006-11-091-5/+8
| | | | | | uploaded files if they do not provide a filename. Closes #6401. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5473 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* assert_response supports symbolic status codes. Closes #6569.Jeremy Kemper2006-11-071-0/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5466 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Missed pluralize nil test in [5431].Jeremy Kemper2006-11-061-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5441 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecate JavaScriptHelper#update_element_function, which is superseeded by ↵Thomas Fuchs2006-11-062-24/+36
| | | | | | RJS [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5438 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix invalid test fixture exposed by stricter Ruby 1.8.5 multipart parsing. ↵Jeremy Kemper2006-11-051-0/+0
| | | | | | Closes #6524. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5429 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Set ActionView::Base.default_form_builder once rather than passing the ↵Jeremy Kemper2006-11-031-1/+25
| | | | | | :builder option to every form or overriding the form helper methods. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5422 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecate start_form_tag and end_form_tag. Use form_tag / '</form>' from ↵Rick Olson2006-10-241-0/+28
| | | | | | now on. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5347 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added block-usage to PrototypeHelper#form_remote_tag, document block-usage ↵Rick Olson2006-10-243-4/+10
| | | | | | of FormTagHelper#form_tag [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5346 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made FormTagHelper#form_tag work with blocks, rendering start/end_form_tag ↵David Heinemeier Hansson2006-10-231-1/+18
| | | | | | deprecated git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5345 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added block-usage to TagHelper#content_tag [DHH]David Heinemeier Hansson2006-10-231-3/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5344 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Docfix (closes #6393)David Heinemeier Hansson2006-10-221-5/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5339 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecated UrlHelper#link_to_image and UrlHelper#link_to :post => true ↵David Heinemeier Hansson2006-10-221-11/+20
| | | | | | (closes #6409) [BobSilva] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5338 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* clean up failing routing tests from missing :only_path option [Rick]Rick Olson2006-10-221-11/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5337 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Upgraded NumberHelper with number_to_phone support international formats to ↵David Heinemeier Hansson2006-10-221-29/+55
| | | | | | comply with ITU E.123 by supporting area codes with less than 3 digits, added precision argument to number_to_human_size (defaults to 1) (closes #6421) [BobSilva] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5336 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that setting RAILS_ASSET_ID to "" should not add a trailing slash ↵David Heinemeier Hansson2006-10-221-1/+8
| | | | | | after assets (closes #6454) [BobSilva/chrismear] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5335 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Force *_url named routes to show the host in ActionView [Rick]Rick Olson2006-10-201-1/+56
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5325 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add support for converting blocks into function arguments in ↵Sam Stephenson2006-10-191-0/+27
| | | | | | | | | JavaScriptGenerator#call and JavaScriptProxy#call. Add JavaScriptGenerator#literal for wrapping a string in an object whose #to_json is the string itself. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5323 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add <%= escape_once html %> to escape html while leaving any currently ↵Rick Olson2006-10-182-0/+8
| | | | | | escaped entities alone. Fix button_to double-escaping issue. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5322 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix double-escaped entities, such as &amp;amp;, &amp;#123;, etc. [Rick]Rick Olson2006-10-181-0/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5321 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* test deprecated instance variables using to_s instead of inspect which ↵Jeremy Kemper2006-10-182-5/+5
| | | | | | touches other ivars git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5320 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix routing to correctly determine when generation fails. Closes #6300.Nicholas Seckar2006-10-161-0/+27
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5314 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix broken assert_generates when extra keys are being checked.Jamis Buck2006-10-161-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5309 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* remove an obsolete #dup call. avoid double negatives, to make the code ↵Jamis Buck2006-10-151-7/+9
| | | | | | easier to understand and explain git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5304 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* make sure filters in subclasses with :only or :except conditions are treated ↵Jamis Buck2006-10-141-1/+13
| | | | | | like skip_filter calls git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5301 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Replace KCODE checks with String#chars for truncate. Closes #6385 [Manfred ↵Michael Koziarski2006-10-141-2/+2
| | | | | | Stienstra] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5300 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make page caching respect the format of the resource that is being requested ↵Marcel Molina2006-10-121-0/+21
| | | | | | even if the current route is the default route so that, e.g. posts.rss is not transformed by url_for to '/' and subsequently cached as '/index.html' when it should be cached as '/posts.rss'. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5289 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use String#chars in TextHelper::excerpt. Closes #6386 [Manfred Stienstra]Michael Koziarski2006-10-122-47/+25
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5288 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix relative URL root matching problemsJamis Buck2006-10-091-0/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5272 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r5540@ks: jeremy | 2006-10-08 23:05:30 -0700Jeremy Kemper2006-10-091-1/+11
| | | | | | | | | | | #5949 r5541@ks: jeremy | 2006-10-08 23:07:08 -0700 Fix filter skipping in controller subclasses. r5557@ks: jeremy | 2006-10-08 23:11:24 -0700 Update changelog. Closes #5949, references #6297, references #6299. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5268 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* render_text may optionally append to the response body. render_javascript ↵Jeremy Kemper2006-10-091-0/+21
| | | | | | appends by default. This allows you to chain multiple render :update calls by setting @performed_render = false between them (awaiting a better public API). git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5253 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rename test assertion to prevent shadowing. Closes #6306.Nicholas Seckar2006-10-091-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5252 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* one render per testJeremy Kemper2006-10-091-16/+36
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5251 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that NumberHelper#number_to_delimiter should respect precision of ↵David Heinemeier Hansson2006-10-091-0/+9
| | | | | | higher than two digits (closes #6231) [phallstrom] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5249 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that caches_action breaks with file extensions (closes #6257) [Catfish]David Heinemeier Hansson2006-10-091-0/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5248 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that FormHelper#radio_button didn't respect an :id being passed in ↵David Heinemeier Hansson2006-10-091-0/+6
| | | | | | (closes #6266) [evansj] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5247 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added an html_options hash parameter to javascript_tag() and ↵David Heinemeier Hansson2006-10-091-0/+6
| | | | | | update_page_tag() helpers #6311 [tzaharia] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5245 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed escaping of backslashes in JavaScriptHelper#escape_javascript (closes ↵David Heinemeier Hansson2006-10-091-0/+1
| | | | | | #6302) [sven@c3d2.de] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5242 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that assert_select selects the wrong tag by its contents (closes ↵David Heinemeier Hansson2006-10-091-0/+17
| | | | | | #6332) [jgarber] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5240 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r5515@ks: jeremy | 2006-10-08 13:24:42 -0700Jeremy Kemper2006-10-081-0/+17
| | | | | | | | | #6281 r5516@ks: jeremy | 2006-10-08 13:29:49 -0700 respond_to :html doesn't assume .rhtml. Closes #6281. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5232 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecate @responseJeremy Kemper2006-09-292-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5207 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecate @headersJeremy Kemper2006-09-292-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5206 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecate @cookiesJeremy Kemper2006-09-293-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5205 5ecf4fe2-1ee6-0310-87b1-e25e094e27de