aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
Commit message (Collapse)AuthorAgeFilesLines
* r2809@asus: jeremy | 2005-07-04 19:29:19 -0700Jeremy Kemper2005-07-041-6/+4
| | | | | | | give CGI::Session options as strings, not symbols git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1681 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r2808@asus: jeremy | 2005-07-04 19:08:48 -0700Jeremy Kemper2005-07-041-18/+29
| | | | | | | test at dbman and at CGI::Session level. need to merge the test classes since they're the same tests for different backends.. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1680 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that hashes was not working properly when passed by GET to lighttpd ↵David Heinemeier Hansson2005-07-041-3/+12
| | | | | | #849 [Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1677 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r2790@asus: jeremy | 2005-07-04 16:30:58 -0700Jeremy Kemper2005-07-041-0/+91
| | | | | | | smart active record session class. session class is pluggable; a basic SqlBypass class is provided. set CGI::Session::ActiveRecordStore.session_class = SqlBypass and set SqlBypass.connection = SomeARConnection. Further tests pending. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1671 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r2788@asus: jeremy | 2005-07-04 16:16:20 -0700Jeremy Kemper2005-07-041-4/+5
| | | | | | | Don't unnecessarily pollute $:. Use SQLite3 instead of SQLite by default. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1669 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix broken capture testJamis Buck2005-07-042-5/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1665 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Hashes sent via multipart post should be converted to strings #1032 ↵Jamis Buck2005-07-041-0/+7
| | | | | | [me@julik.nl] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1664 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix test broken by [1648]Jamis Buck2005-07-041-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1663 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved update_element_function #1597 [Thomas Fuchs]David Heinemeier Hansson2005-07-041-0/+25
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1650 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :prompt option to FormOptions#select (and the users of it, like ↵David Heinemeier Hansson2005-07-031-0/+36
| | | | | | FormOptions#select_country etc) to create "Please select" style descriptors #1181 [Michael Schuerig] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1646 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed routing bug #1592David Heinemeier Hansson2005-07-031-0/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1645 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added JavascriptHelper#update_element_function, which returns a Javascript ↵David Heinemeier Hansson2005-07-033-0/+52
| | | | | | function (or expression) that'll update a DOM element according to the options passed #933 [mortonda@dgrmm.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1644 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* AJAX error handling fix, Prototype event handling #1589 [Thomas Fuchs]David Heinemeier Hansson2005-07-031-4/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1617 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :field_name option to DateHelper#select_(year|month|day) to deviate ↵David Heinemeier Hansson2005-07-021-0/+43
| | | | | | from the year/month/day defaults #1266 [Marcel Molina] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1613 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update for JavaScript helper tests #1584 [Thomas Fuchs]David Heinemeier Hansson2005-07-021-14/+48
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1611 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added more tests on assert_redirected_to #1581 [Rick Olson]David Heinemeier Hansson2005-07-021-0/+55
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1609 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that UrlHelper#mail_to will now also encode the default link title ↵David Heinemeier Hansson2005-07-023-9/+17
| | | | | | #749 [f.svehla@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1601 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Load models and frequency typo on upoad progress #1555 [Sean Treadway]David Heinemeier Hansson2005-07-011-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1580 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Uncommented request.recycle! as it breaks more than it fixes, left test case ↵David Heinemeier Hansson2005-06-304-4/+15
| | | | | | in, xal? git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1572 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Got back to functional testing harmonyDavid Heinemeier Hansson2005-06-291-0/+21
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1563 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix JavaScriptHelper capitalization and make it compatible with Prototype ↵David Heinemeier Hansson2005-06-292-7/+7
| | | | | | #1545 [Sam Stephenson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1561 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r1475@iwill: jeremy | 2005-06-28 23:19:51 -0700Jeremy Kemper2005-06-292-52/+52
| | | | | | | | | | | | | | | Ticket 1543 - Fix test_process r1476@iwill: jeremy | 2005-06-29 00:20:53 -0700 Correct expected, actual order for assert_equal. Use new render method in TestController. r1477@iwill: jeremy | 2005-06-29 00:23:45 -0700 Generate route and assign parameters without modifying the user's params. r1480@iwill: jeremy | 2005-06-29 00:28:52 -0700 Update changelog. r1481@iwill: jeremy | 2005-06-29 00:34:02 -0700 Directly generate paths with a leading slash instead of tacking it on later. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1557 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Routes fail with leading slash #1540 [Nicholas Seckar]Jamis Buck2005-06-281-0/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1555 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for upload progress indicators in Apache and lighttpd 1.4.x ↵David Heinemeier Hansson2005-06-283-0/+726
| | | | | | (won't work in WEBrick or lighttpd 1.3.x) #1475 [Sean Treadway] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1553 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't ignore :controller for urls made inside a controller module #1526 ↵David Heinemeier Hansson2005-06-271-0/+7
| | | | | | [Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1542 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make named routes work without hashes #1523 [Nicholas Seckar]David Heinemeier Hansson2005-06-271-0/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1541 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed assert_redirected_to to handle absolute controller paths properly ↵David Heinemeier Hansson2005-06-271-4/+23
| | | | | | #1472 [Rick Olson/Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1533 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that Functional tests do not set request.path_parameters properly ↵David Heinemeier Hansson2005-06-261-1/+10
| | | | | | #1512 [Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1527 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added script.aculo.us Javascripts (controls.js, dragdrop.js, effects.js) ↵David Heinemeier Hansson2005-06-261-1/+23
| | | | | | (NEEDS MORE DESCRIPTION) #1509 [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1522 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated assert_generates/routing to the new Routes code #1498 [Rick Olson]David Heinemeier Hansson2005-06-251-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1505 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Eliminate a "string literal in condition" warning from some routesJamis Buck2005-06-251-0/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1502 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix problem with symbol/string mismatch on some routesJamis Buck2005-06-241-0/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1500 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved performance of Routes generation by a factor of 5 #1434 [Nicholas ↵David Heinemeier Hansson2005-06-242-459/+563
| | | | | | 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
* Include Routing tests in rake run #1287David Heinemeier Hansson2005-06-211-0/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1473 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added TextHelper#word_wrap(text, line_length = 80) #1449 [tuxie@dekadance.se]David Heinemeier Hansson2005-06-211-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1465 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :xhr => true/false option to verify so you can ensure that a request ↵David Heinemeier Hansson2005-06-212-0/+48
| | | | | | is coming from an Ajax call or not #1464 [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1463 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added tag_options as a third parameter to ↵David Heinemeier Hansson2005-06-211-0/+6
| | | | | | AssetHelper#auto_discovery_link_tag to control options like the title of the link #1430 [kevin.clark@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1460 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added option to pass in parameters to CaptureHelper#capture, so you can ↵David Heinemeier Hansson2005-06-211-4/+4
| | | | | | create more advanced view helper methods #1466 [duane.johnson@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1459 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More tests for JavascriptHelper #1460David Heinemeier Hansson2005-06-181-0/+52
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1451 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed relative urls support for lighttpd #1048 [Nicholas ↵David Heinemeier Hansson2005-06-181-0/+17
| | | | | | Seckar/maznawak@nerim.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1450 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r1335@iwill: jeremy | 2005-06-17 11:41:50 -0700Jeremy Kemper2005-06-171-0/+9
| | | | | | | | | | | | | Ticket 1458 - distance_of_time_in_words r1336@iwill: jeremy | 2005-06-17 11:44:50 -0700 Update changelog r1337@iwill: jeremy | 2005-06-17 11:45:44 -0700 Applied patch. r1361@iwill: jeremy | 2005-06-17 11:48:02 -0700 Merge changelog git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1449 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed query parser to deal gracefully with equal signs inside keys and ↵David Heinemeier Hansson2005-06-161-0/+16
| | | | | | values #1345 [gorou] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1441 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added cuba to country list #1351 [todd]David Heinemeier Hansson2005-06-161-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1440 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :extension option to NumberHelper#number_to_phone #1361 [delynnb]David Heinemeier Hansson2005-06-161-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1438 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added button_to as a form-based solution to deal with harmful actions that ↵David Heinemeier Hansson2005-06-161-0/+22
| | | | | | should be hidden behind POSTs. This makes it just as easy as link_to to create a safe trigger for actions like destroy, although it's limited by being a block element, the fixed look, and a no-no inside other forms. #1371 [tom@moertel.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1437 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed image_tag so an exception is not thrown just because the image is ↵David Heinemeier Hansson2005-06-161-5/+3
| | | | | | missing and alt value can't be generated #1395 [Marcel] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1434 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a third parameter to TextHelper#auto_link called href_options for ↵David Heinemeier Hansson2005-06-161-0/+3
| | | | | | specifying additional tag options on the links generated #1401 [tyler.kovacs@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1432 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed TextHelper#highlight to return the text, not nil, if the phrase is ↵David Heinemeier Hansson2005-06-161-0/+5
| | | | | | blank #1409 [patrick@lenz.sh] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1429 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Its Iraq, not Irak #1443 [ivan]David Heinemeier Hansson2005-06-161-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1427 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed TagHelper such that :name and 'name' keys in the options doesn't ↵David Heinemeier Hansson2005-06-161-0/+4
| | | | | | result in two attributes #1455 [take_tk] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1426 5ecf4fe2-1ee6-0310-87b1-e25e094e27de