aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Improved testing of functional test setup.Nicholas Seckar2005-07-071-3/+37
| | | | | | | | | | | | Fixed functional test setup so that :controller and :action are stored into path_parameters using string keys. Added with_routing test helper which can be used to dynamically replace the current set of routes inside a unit test. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1763 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that named routes didn't use the default values for action and ↵David Heinemeier Hansson2005-07-071-1/+11
| | | | | | possible other parameters #1534 [Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1758 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add test for dynamic dispatch based on action_name accessor.Jeremy Kemper2005-07-071-0/+21
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1757 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed routing snafuDavid Heinemeier Hansson2005-07-061-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1736 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make new AJAX helpers aware of more of their options #1622 [Thomas Fuchs]David Heinemeier Hansson2005-07-061-2/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1729 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Partly tuned docs for release (AP)David Heinemeier Hansson2005-07-062-8/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1728 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* benchmark helper takes an optional log level, defaults to :info. Chose ↵Jeremy Kemper2005-07-051-0/+72
| | | | | | symbols log levels rather than Logger::FOO constants for simplicity. Added benchmark helper test suite. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1719 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r2879@asus: jeremy | 2005-07-05 16:15:16 -0700Jeremy Kemper2005-07-051-0/+1
| | | | | | | | | | | Rollback changesets for Ticket #1229. r2880@asus: jeremy | 2005-07-05 16:17:08 -0700 Ticket #1229 does not affect Ticket #1614. Reinstating the changesets. r2881@asus: jeremy | 2005-07-05 16:24:04 -0700 @test_unchanged in deprecated render test :partials_list action git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1718 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r2874@asus: jeremy | 2005-07-05 16:13:39 -0700Jeremy Kemper2005-07-053-5/+6
| | | | | | | Unit test for Ticket #1614. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1717 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed routing regression on index exceptionDavid Heinemeier Hansson2005-07-051-1/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1713 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Routing fixJamis Buck2005-07-051-0/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1712 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r2850@asus: jeremy | 2005-07-05 13:08:32 -0700Jeremy Kemper2005-07-051-0/+7
| | | | | | | Don't be strict about the order in which AR store methods are called. Allow e.g. session close followed by session close. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1710 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r2836@asus: jeremy | 2005-07-05 00:33:12 -0700Jeremy Kemper2005-07-051-34/+30
| | | | | | | Test sessid backward compatibility. DRY up the test classes. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1692 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r2822@asus: jeremy | 2005-07-04 21:14:30 -0700Jeremy Kemper2005-07-042-7/+9
| | | | | | | silence warnings re. class redefinitions git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1687 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r2821@asus: jeremy | 2005-07-04 21:14:16 -0700Jeremy Kemper2005-07-041-2/+2
| | | | | | | reuse path_to_ar git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1686 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r2820@asus: jeremy | 2005-07-04 21:13:57 -0700Jeremy Kemper2005-07-041-121/+119
| | | | | | | Bring in-mem SQLite goodness to active_record_assertions_test git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1685 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r2817@asus: jeremy | 2005-07-04 20:49:12 -0700Jeremy Kemper2005-07-041-1/+7
| | | | | | | | | active_record_store_test falls back to SQLite2 if 3 is unavailable r2818@asus: jeremy | 2005-07-04 20:52:25 -0700 update changelog git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1684 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r2815@asus: jeremy | 2005-07-04 19:49:35 -0700Jeremy Kemper2005-07-041-1/+3
| | | | | | | Correct SqlBypass test git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1683 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* 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