Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | escape constant names | Joost Baaij | 2010-08-26 | 1 | -4/+4 |
| | |||||
* | Reset symbolized path parameters when a test request is recycled [#5437 ↵ | Andrew White | 2010-08-24 | 1 | -0/+1 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -1/+1 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | Change returning with tap | Santiago Pastorino | 2010-07-25 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Sessions should not be created until written to and session data should be ↵ | Michael Lovitt | 2010-06-23 | 1 | -0/+2 |
| | | | | | | | | destroyed on reset. [#4938] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Add support for specifying locals in view tests with assert template [#4927 ↵ | David Chelimsky | 2010-06-22 | 1 | -3/+13 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fix a bunch of minor spelling mistakes | Evgeniy Dolzhenko | 2010-06-11 | 1 | -2/+2 |
| | |||||
* | Reset request.parameters after assigning params for functional tests | Jeremy Kemper | 2010-06-06 | 1 | -2/+4 |
| | |||||
* | Memoizing methods on request means we need to clear them out on recycle! | wycats | 2010-06-04 | 1 | -3/+3 |
| | |||||
* | Eliminate false positives when passing symbols to assert_template | David Chelimsky | 2010-05-03 | 1 | -1/+2 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Change event namespace ordering to most-significant first [#4504 state:resolved] | Justin George | 2010-05-02 | 1 | -4/+4 |
| | | | | | | | | | More work still needs to be done on some of these names (render_template.action_view and render_template!.action_view particularly) but this allows (for example) /^sql/ to subscribe to all the various ORMs without further modification Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | extract ActionController::TestCase::Behavior | David Chelimsky | 2010-04-26 | 1 | -126/+133 |
| | | | | | | | | | | - this makes it possible for other test frameworks to hook into testing facilities provided by Rails without having to subclass AC::TestCase. [#4474 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | allow unsubscribe by name or subscription [#4433 state:resolved] | David Chelimsky | 2010-04-24 | 1 | -0/+1 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Fix missing dependency on Hash#to_query | Santiago Pastorino | 2010-04-14 | 1 | -0/+1 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Add accessors for request and response so tests don't have to mess with ↵ | Michael Koziarski | 2010-04-09 | 1 | -0/+2 |
| | | | | internal ivars | ||||
* | Consistent routing language | Joshua Peek | 2010-03-30 | 1 | -5/+5 |
| | |||||
* | adds missing requires for Object#blank? and Object#present? | Xavier Noria | 2010-03-28 | 1 | -0/+1 |
| | |||||
* | Get modules back into integration tests | Carlhuda | 2010-03-17 | 1 | -1/+0 |
| | |||||
* | Modify assert_template to use notifications. Also, remove ↵ | Carlhuda | 2010-03-17 | 1 | -0/+20 |
| | | | | ActionController::Base#template since it is no longer needed. | ||||
* | Mark bang instrumentations as something that you shuold not be listening to. | José Valim | 2010-03-17 | 1 | -2/+2 |
| | |||||
* | Modify assert_template to use instrumentation | Carlhuda | 2010-03-17 | 1 | -0/+82 |
| | |||||
* | RouteSet#rewrite => url_for | Joshua Peek | 2010-03-09 | 1 | -1/+1 |
| | |||||
* | Move AC::UrlRewriter onto route set | Joshua Peek | 2010-03-09 | 1 | -17/+16 |
| | |||||
* | Get rid of the instance-level URL rewriter | wycats | 2010-03-09 | 1 | -2/+6 |
| | |||||
* | Tweak the semantic of various URL related methods of ActionDispatch::Request | Carlhuda | 2010-03-03 | 1 | -8/+14 |
| | |||||
* | Change the API for setting global options for #url_for to self.url_options = ↵ | Carlhuda | 2010-02-26 | 1 | -1/+1 |
| | | | | | | { ... } This attr_accessor can be set in a before filter or in the action itself. Overwriting default_url_options still works but will output a deprecation notice. | ||||
* | Continued effort to deglobalize the router | Carlhuda | 2010-02-25 | 1 | -1/+1 |
| | |||||
* | WIP: Remove the global router | Carlhuda | 2010-02-25 | 1 | -5/+5 |
| | |||||
* | Use ActionDispatch::Routing everywhere | Martin Schürrer | 2010-02-21 | 1 | -1/+1 |
| | |||||
* | Move Flash into middleware | Joshua Peek | 2010-01-15 | 1 | -1/+3 |
| | |||||
* | Controller tests should always require view tests since they add behavior ↵ | Jeremy Kemper | 2010-01-04 | 1 | -0/+1 |
| | | | | controllers expect | ||||
* | Autoload AS test case | Joshua Peek | 2010-01-04 | 1 | -1/+0 |
| | |||||
* | Autoload AC and AV test case classes | Joshua Peek | 2010-01-04 | 1 | -1/+0 |
| | |||||
* | Allow autoloads to opt out of eager loading | Joshua Peek | 2009-12-12 | 1 | -1/+0 |
| | |||||
* | TestProcess belongs in AD | Joshua Peek | 2009-12-12 | 1 | -2/+1 |
| | |||||
* | Reorganize autoloads: | Carlhuda | 2009-12-02 | 1 | -0/+348 |
| | | | | | | | | | | | | | | | | | | | | | * A new module (ActiveSupport::Autoload) is provide that extends autoloading with new behavior. * All autoloads in modules that have extended ActiveSupport::Autoload will be eagerly required in threadsafe environments * Autoloads can optionally leave off the path if the path is the same as full_constant_name.underscore * It is possible to specify that a group of autoloads live under an additional path. For instance, all of ActionDispatch's middlewares are ActionDispatch::MiddlewareName, but they live under "action_dispatch/middlewares/middleware_name" * It is possible to specify that a group of autoloads are all found at the same path. For instance, a number of exceptions might all be declared there. * One consequence of this is that testing-related constants are not autoloaded. To get the testing helpers for a given component, require "component_name/test_case". For instance, "action_controller/test_case". * test_help.rb, which is automatically required by a Rails application's test helper, requires the test_case.rb for all active components, so this change will not be disruptive in existing or new applications. | ||||
* | Reorganize ActionController folder structure | Joshua Peek | 2009-01-27 | 1 | -199/+0 |
| | |||||
* | Take care not to mix in public methods | Jeremy Kemper | 2009-01-07 | 1 | -9/+10 |
| | |||||
* | Include process methods in ActionController::TestCase only. No need to ↵ | Jeremy Kemper | 2009-01-07 | 1 | -0/+3 |
| | | | | alias_method_chain :process either. | ||||
* | Switch to Rack::Response#set_cookie instead of using CGI::Cookie to build ↵ | Joshua Peek | 2008-12-20 | 1 | -4/+1 |
| | | | | cookie headers | ||||
* | Ensure integration test is load in script/console [#1452 state:resolved] | Joshua Peek | 2008-11-24 | 1 | -1/+0 |
| | |||||
* | Move controller assertions from base TestCase to AC:: and AV::TestCase | Jeremy Kemper | 2008-11-07 | 1 | -31/+26 |
| | |||||
* | Remove controller assertions from Test::Unit::TestCase. Use ↵ | Jeremy Kemper | 2008-11-07 | 1 | -1/+58 |
| | | | | ActionController::TestCase. | ||||
* | Make sure named routes with parameters can be used in tests before a request ↵ | Eloy Duran | 2008-10-13 | 1 | -0/+3 |
| | | | | | | has been done. [#1208 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Ensure rescue_from handlers are respected inside tests. [#835 state:resolved] | Pratik Naik | 2008-10-04 | 1 | -1/+1 |
| | | | | | | Note : If you're not using rescue_from, you should overrider rescue_action_without_handler() method and not rescue_action(). Afterwards, you can set request.remote_addr to a non "0.0.0.0" value for testing the overridden behavior. | ||||
* | Merge docrails changes | Pratik Naik | 2008-07-28 | 1 | -12/+50 |
| | |||||
* | Merge with docrails. | Pratik Naik | 2008-07-16 | 1 | -0/+23 |
| | |||||
* | Added ActionController::TestCase#rescue_action_in_public! to control whether ↵ | David Heinemeier Hansson | 2008-04-27 | 1 | -2/+21 |
| | | | | the action under test should use the regular rescue_action path instead of simply raising the exception inline (great for error testing) [DHH] | ||||
* | Allow using named routes in ActionController::TestCase before any request ↵ | Pratik Naik | 2008-03-08 | 1 | -2/+2 |
| | | | | | | has been made. Closes #11273 [alloy] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8992 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Make the non inferrable controller message a little friendlier. [Koz] | Michael Koziarski | 2008-01-30 | 1 | -1/+7 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8749 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |