aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
Commit message (Collapse)AuthorAgeFilesLines
...
* apply [6543] to edge. Closes #5044 [tpope]Rick Olson2007-04-201-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6545 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* remove useless mock testRick Olson2007-04-121-47/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6518 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* The default respond_to blocks don't set a specific extension anymore, so ↵Rick Olson2007-04-123-8/+22
| | | | | | that both 'show.rjs' and 'show.js.rjs' will work. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6517 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow layouts with extension of .html.erb. Closes #8032 [Josh Knowles]Rick Olson2007-04-121-0/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6516 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed ill faded xml_node class from codebase. Use XmlSimple insteadTobias Lütke2007-04-091-57/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6511 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Change default respond_to templates for xml and rjs formats. [Rick]Rick Olson2007-04-089-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6507 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Change ActionView template defaults. Look for templates using the request ↵Rick Olson2007-04-026-0/+33
| | | | | | format first, such as show.html.erb or show.xml.builder, before looking for the old defaults like show.erb or show.builder [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6499 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* add ActionView::Base#find_template_extension_for testsRick Olson2007-04-012-2/+42
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6498 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Highlight helper highlights one or many terms in a single pass.Jeremy Kemper2007-03-301-0/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6493 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dropped the use of ; as a separator of non-crud actions on resources and ↵David Heinemeier Hansson2007-03-281-16/+16
| | | | | | went back to the vanilla slash. It was a neat idea, but lots of the non-crud actions turned out not to be RPC (as the ; was primarily intended to discourage), but legitimate sub-resources, like /parties/recent, which didn't deserve the uglification of /parties;recent. Further more, the semicolon caused issues with caching and HTTP authentication in Safari. Just Not Worth It [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6485 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved the handling of broken accept headersTobias Lütke2007-03-281-0/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6484 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that FormTagHelper#submit_tag will return to its original state if the ↵David Heinemeier Hansson2007-03-271-1/+1
| | | | | | submit fails and you're using :disable_with [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6480 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure the expiry hash is built by comparing the to_param-ized values of ↵Jamis Buck2007-03-261-1/+8
| | | | | | each hash git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6465 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow configuration of the default action cache path for #caches_action ↵Rick Olson2007-03-221-0/+31
| | | | | | calls. [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6453 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Revert [6430] since the test is faulty. References #7837, closes #7842.Jeremy Kemper2007-03-161-10/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6435 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Undeprecate redirect_to with Hash argument and additional url_for ↵Jeremy Kemper2007-03-161-0/+10
| | | | | | parameters. Closes #7837. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6430 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cookie session store: ensure that new sessions doesn't reuse data from a ↵Jeremy Kemper2007-03-141-0/+13
| | | | | | deleted session in the same request. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6424 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: verification with :redirect_to => :named_route shouldn't be ↵Jeremy Kemper2007-03-141-0/+15
| | | | | | deprecated. Closes #7525. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6422 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cookie session store: raise ArgumentError when :session_key is blank.Jeremy Kemper2007-03-131-0/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6415 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: remove deprecated url_for(:symbol, *args) and ↵Jeremy Kemper2007-03-133-45/+3
| | | | | | redirect_to(:symbol, *args) controller methods. Use named routes instead. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6412 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: remove deprecated update_element_function, start_form_tag, and ↵Jeremy Kemper2007-03-133-79/+3
| | | | | | end_form_tag. Use RJS and form_tag instead. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6409 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: remove deprecated human_size helper alias. Use ↵Jeremy Kemper2007-03-131-6/+0
| | | | | | number_to_human_size instead. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6407 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: remove deprecated link_to_image and link_image_to methods. Use ↵Jeremy Kemper2007-03-131-33/+24
| | | | | | link_to(image_path(...), url). git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6405 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: privatize deprecated render_partial and ↵Jeremy Kemper2007-03-131-1/+1
| | | | | | render_partial_collection methods. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6404 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: remove toplevel components directory and ↵Jeremy Kemper2007-03-131-37/+15
| | | | | | uses_component_template_root. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6403 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: remove deprecated request methods.Jeremy Kemper2007-03-131-9/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6401 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: remove deprecated redirect methods.Jeremy Kemper2007-03-131-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6400 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: remove deprecated instance variables.Jeremy Kemper2007-03-1331-113/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6399 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Adjust test for unsorted Array#to_query. References #7756.Jeremy Kemper2007-03-111-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6380 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Give time_ago_in_words test some DST slop.Jeremy Kemper2007-03-111-2/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6374 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow array and hash query parameters. Array route parameters are ↵Jeremy Kemper2007-03-062-11/+52
| | | | | | converted/to/a/path as before. References #6765, #7462. Closes #7047. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6343 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ignore odd charset declaration in CONTENT_TYPE header which would throw off ↵Tobias Lütke2007-03-051-0/+19
| | | | | | mime type lookup. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6340 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added URL escaping of user and password when used through the UrlWriterDavid Heinemeier Hansson2007-03-041-1/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6314 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Extract dynamic scaffolding into a plugin. Closes #7700.Jeremy Kemper2007-03-041-2/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6306 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added user/password options for url_for to add http authentication in a URL ↵David Heinemeier Hansson2007-03-031-0/+7
| | | | | | [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6302 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that FormTagHelper#text_area_tag should disregard :size option if it's ↵David Heinemeier Hansson2007-03-031-0/+6
| | | | | | not a string [Brendon Davidson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6300 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cookie store: use OpenSSL::HMAC instead of basic hash. Introduce :secret ↵Jeremy Kemper2007-03-031-21/+49
| | | | | | block and :digest option. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6296 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cookie store: test that >4K raises CookieOverflow and that unverifiable ↵Jeremy Kemper2007-03-031-13/+43
| | | | | | cookies are automatically deleted. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6294 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Set the original button value in an attribute of the button when using the ↵Jamis Buck2007-02-281-1/+1
| | | | | | :disable_with key with submit_tag git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6270 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* session_enabled? works with session :off. Closes #6680.Jeremy Kemper2007-02-271-0/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6253 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :port and :host handling to UrlRewriter (which unified url_for usage, ↵David Heinemeier Hansson2007-02-251-0/+26
| | | | | | regardless of whether it's called in view or controller) #7616 [alancfrancis] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6235 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow send_file/send_data to use a registered mime type as the :type ↵David Heinemeier Hansson2007-02-251-2/+4
| | | | | | parameter #7620 [jonathan] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6233 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow routing requirements on map.resource(s) (closes #7633) [quixoten]David Heinemeier Hansson2007-02-251-0/+25
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6232 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed broken testDavid Heinemeier Hansson2007-02-251-2/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6231 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved perform_caching test set up into test's setup to fix a dependence ↵David Heinemeier Hansson2007-02-251-1/+4
| | | | | | fragility (closes #7640) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6230 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cookie session store: empty and unchanged sessions don't write a cookie.Jeremy Kemper2007-02-251-1/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6226 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added helper(:all) as a way to include all helpers from app/helpers/**/*.rb ↵David Heinemeier Hansson2007-02-242-3/+20
| | | | | | in ApplicationController [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6221 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Integration tests: introduce methods for other HTTP methods. Closes #6353.Jeremy Kemper2007-02-221-1/+38
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6203 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* CGI escape the session cookie.Jeremy Kemper2007-02-221-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6200 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added subdirectory testDavid Heinemeier Hansson2007-02-211-0/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6188 5ecf4fe2-1ee6-0310-87b1-e25e094e27de