aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
Commit message (Collapse)AuthorAgeFilesLines
* Added support for per-action session management #1763Jamis Buck2005-07-221-0/+50
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1886 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved rendering speed on complicated templates by up to 25% #1234 ↵David Heinemeier Hansson2005-07-216-9/+26
| | | | | | [Stephan Kaes]. This did necessasitate a change to the internals of ActionView#render_template that now has four parameters. Developers of custom view handlers (like Amrita) need to update for that. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1874 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed construction of get parameters for arraysNicholas Seckar2005-07-182-31/+58
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1857 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix assert_routing with nested controllers. Closes #1582 and #1386.Nicholas Seckar2005-07-153-25/+36
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1837 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed bug with :success/:failure callbacks for the JavaScriptHelper methods ↵David Heinemeier Hansson2005-07-141-0/+40
| | | | | | #1730 [court3nay/Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1835 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add RouteSet#named_route so that RouteSet instance methods do not shadow ↵Nicholas Seckar2005-07-141-0/+12
| | | | | | available route names git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1834 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Provide correct defaults for Named Routes which do not specify :actionNicholas Seckar2005-07-141-0/+27
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1833 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made pagination faster #1334 [Stefan Kaes]David Heinemeier Hansson2005-07-141-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1832 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made test_rendering_nothing_on_layout acknowledge the spaceDavid Heinemeier Hansson2005-07-141-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1831 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Generate URLs for :action => index when :action => nil is supplied.Nicholas Seckar2005-07-141-4/+38
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1826 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Named routes should not provide nil values to url_for. Includes factoring ↵Nicholas Seckar2005-07-131-0/+36
| | | | | | and extra testcases. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1825 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make Request#subdomains handle "foo.foo.com" correctlyJamis Buck2005-07-121-0/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1817 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Script.aculo.us: latest rev, new autocompleter features, memory leaks fixed ↵David Heinemeier Hansson2005-07-111-1/+5
| | | | | | #1695 [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1810 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made JavaScriptHelper tests pass regardless of hash order #1656 [Sam Stephenson]David Heinemeier Hansson2005-07-101-18/+18
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1794 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r2992@asus: jeremy | 2005-07-10 02:43:49 -0700Jeremy Kemper2005-07-101-2/+8
| | | | | | | Skip ActiveRecordStore tests if neither SQLite 2 nor 3 is available. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1793 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that nil options are not included in tags, so tag("p", :ignore => nil) ↵David Heinemeier Hansson2005-07-094-6/+14
| | | | | | now returns <p /> not <p ignore="" /> but that tag("p", :ignore => "") still includes it #1465 [michael@schuerig.de] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1789 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved error message for DoubleRenderErrorJamis Buck2005-07-091-0/+27
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1779 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r2948@asus: jeremy | 2005-07-08 16:00:23 -0700Jeremy Kemper2005-07-081-1/+1
| | | | | | | Use save instead of save! in ARStore test also. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1773 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Routes now raise an exception if a path component is misconfigured.Nicholas Seckar2005-07-081-0/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1769 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix routes to generate proper URLs when given Fixnum defaultsNicholas Seckar2005-07-081-0/+22
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1768 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include Javascript tests in rake #1655 [courtney]David Heinemeier Hansson2005-07-081-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1767 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* 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