Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix cookie access in integration tests with other host names | Joshua Peek | 2010-04-05 | 1 | -7/+21 | |
| | ||||||
* | moves Object#singleton_class to Kernel#singleton_class to match Ruby also ↵ | Xavier Noria | 2010-04-05 | 1 | -1/+1 | |
| | | | | there, same for #class_eval to simplify, and adds coverage for class_eval | |||||
* | Rename config.cookie_secret to config.secret_token and pass it as ↵ | José Valim | 2010-04-05 | 1 | -0/+2 | |
| | | | | configuration in request.env. This is another step forward removing global configuration. | |||||
* | * Change the object used in routing constraints to be an instance of | wycats | 2010-04-03 | 1 | -1/+2 | |
| | | | | | | | | | | | ActionDispatch::Request rather than Rack::Request. * Changed ActionDispatch::Request#method to return a String, to be compatible with the Rack::Request superclass. * Changed ActionDispatch::Request#method to return the original method in the case of methodoverride and #request_method not to, to be compatible with Rack::Request | |||||
* | Add a test which ensures action_dispatch.show_exceptions is properly disabled. | José Valim | 2010-04-02 | 1 | -3/+1 | |
| | ||||||
* | Consistent routing language | Joshua Peek | 2010-03-30 | 1 | -10/+10 | |
| | ||||||
* | Fix stack overflow bug in integration test router helpers | Joshua Peek | 2010-03-30 | 1 | -1/+1 | |
| | ||||||
* | Merge remote branch 'rizwan/restrict' | wycats | 2010-03-28 | 1 | -0/+2 | |
|\ | ||||||
| * | adds missing requires for Object#blank? and Object#present? | Xavier Noria | 2010-03-28 | 1 | -0/+2 | |
| | | ||||||
* | | Rails 3 application can run performance tests now. [#4171 state:resolved] | Rizwan Reza | 2010-03-28 | 1 | -1/+3 | |
|/ | ||||||
* | open_session can just return the a dup of the current context. | wycats | 2010-03-22 | 1 | -24/+3 | |
| | | | | | At this point, its entire purpose in the open_session {} case was to delegate back to the IntegrationTest anyway. | |||||
* | Each controller class has it's own view context subclass. This removes the ↵ | Carlhuda | 2010-03-18 | 1 | -3/+4 | |
| | | | | need for ActionView::Base.for_controller | |||||
* | All tests pass without memoizing view_context | Carlhuda | 2010-03-18 | 1 | -3/+2 | |
| | ||||||
* | Get modules back into integration tests | Carlhuda | 2010-03-17 | 1 | -0/+3 | |
| | ||||||
* | Fix for missing dependency in ActionDispatch::Integration | Mathias Biilmann Christensen | 2010-03-17 | 1 | -0/+1 | |
| | | | | | | | | | | | When running cucumber features from a new rails 3 app requiring 'cucumber/rails/world' would raise: uninitialized constant ActionDispatch::Integration::Session::Test (NameError) Fixed by requiring 'test/unit/assertions' in action_dispatch/integration Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Modify assert_template to use instrumentation | Carlhuda | 2010-03-17 | 1 | -52/+0 | |
| | ||||||
* | Do not always include the named URL helpers into AC::Base and AV::Base. | Carl Lerche | 2010-03-16 | 1 | -2/+16 | |
| | ||||||
* | Integration test url options should account for :protocol not just https? | Jeremy Kemper | 2010-03-15 | 1 | -8/+2 | |
| | ||||||
* | No longer add missing leading / on path args to assert_redirected_to. ↵ | Jeremy Kemper | 2010-03-02 | 1 | -9/+14 | |
| | | | | Deprecated in 2.3.6. | |||||
* | Remind us that RoutingAssertions should work in an integration context | Yehuda Katz | 2010-02-26 | 1 | -0/+1 | |
| | ||||||
* | If IntegrationSession is initialized with an objects that responds to ↵ | Carlhuda | 2010-02-26 | 1 | -7/+21 | |
| | | | | #routes, automatically extend the URL helpers from the RouteSet onto it | |||||
* | Setting UrlFor in with_routing is no longer needed now that it's not global | Carlhuda | 2010-02-26 | 1 | -3/+0 | |
| | ||||||
* | Remove traces of SharedTestRoutes from user code; leave it as a standin for ↵ | Carlhuda | 2010-02-26 | 1 | -12/+0 | |
| | | | | Rails.application.routes in Rails internal tests | |||||
* | 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. | |||||
* | Rename named_url_helpers to url_helpers and url_helpers to url_for | Carlhuda | 2010-02-26 | 1 | -3/+3 | |
| | ||||||
* | Rename metaclass to singleton_class | Carlhuda | 2010-02-25 | 1 | -1/+1 | |
| | ||||||
* | Get URL helpers working again in integration tests. | Carlhuda | 2010-02-25 | 1 | -24/+24 | |
| | ||||||
* | Final pass at removing the router from a global constant | Carlhuda | 2010-02-25 | 2 | -3/+1 | |
| | ||||||
* | WIP: Remove the global router | Carlhuda | 2010-02-25 | 2 | -17/+20 | |
| | ||||||
* | Use Object#singleton_class instead of #metaclass. Prefer Ruby's choice. | Jeremy Kemper | 2010-02-25 | 1 | -2/+2 | |
| | ||||||
* | Use ActionDispatch::Routing everywhere | Martin Schürrer | 2010-02-21 | 2 | -13/+13 | |
| | ||||||
* | Fix a bunch of pending tests by providing an introspection mode for the ↵ | Carlhuda | 2010-02-19 | 1 | -1/+2 | |
| | | | | Response object that does up-front parsing of the headers to populate things like @etag | |||||
* | AD::TestProcess relies on request.flash, so let's load it. | José Valim | 2010-02-16 | 1 | -0/+2 | |
| | ||||||
* | Deprecation notice for TestResponse#redirected_to | Joshua Peek | 2010-01-30 | 1 | -0/+5 | |
| | ||||||
* | Expose last controller in rack env["action_controller.instance"] | Joshua Peek | 2010-01-20 | 1 | -32/+6 | |
| | ||||||
* | Disable ShowExceptions during integration tests | Joshua Peek | 2010-01-19 | 1 | -1/+3 | |
| | ||||||
* | Merge docrails | Pratik Naik | 2010-01-17 | 1 | -8/+8 | |
| | ||||||
* | Remove CGI.escape in function of Rack::Mount.escape | José Valim | 2010-01-06 | 1 | -1/+1 | |
| | ||||||
* | assert_template depends on AV::Template monkey patches in action_view/test_case | Joshua Peek | 2010-01-05 | 1 | -0/+9 | |
| | ||||||
* | Autoload AS test case | Joshua Peek | 2010-01-04 | 1 | -1/+0 | |
| | ||||||
* | Merge | David Heinemeier Hansson | 2009-12-22 | 4 | -12/+18 | |
|\ | ||||||
| * | All AD modules are "deferrable" | Joshua Peek | 2009-12-22 | 3 | -11/+17 | |
| | | ||||||
| * | AD::StatusCodes support is now part of rack | Joshua Peek | 2009-12-22 | 1 | -1/+1 | |
| | | ||||||
* | | Dont encourage __FILE__ bullshit | David Heinemeier Hansson | 2009-12-22 | 1 | -2/+2 | |
|/ | ||||||
* | Move route reloading into railties | Joshua Peek | 2009-12-14 | 1 | -2/+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 | 4 | -9/+101 | |
| | ||||||
* | Kill RouteSet#recognize | Joshua Peek | 2009-12-10 | 1 | -2/+4 | |
| | ||||||
* | Should fix a few Sam Ruby fails. | Yehuda Katz | 2009-12-03 | 1 | -11/+13 | |
| | ||||||
* | Fixed AD assertion autoloads [#3470 state:resolved] | Joshua Peek | 2009-11-09 | 1 | -3/+16 | |
| |