Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | File extra test folders into controller, dispatch, or template | Joshua Peek | 2009-10-03 | 16 | -1402/+0 |
| | |||||
* | Ensure changes to I18n locale get reset during tests | Joshua Peek | 2009-09-19 | 1 | -3/+8 |
| | |||||
* | All on one abstract_unit | Joshua Peek | 2009-09-19 | 16 | -16/+16 |
| | |||||
* | Merge abstract_controller/test_helper and new_base/test_helper since they ↵ | Joshua Peek | 2009-09-13 | 18 | -144/+29 |
| | | | | are expected to run in the same testing sandbox | ||||
* | Don't force test suite to use bundler | Joshua Peek | 2009-09-13 | 1 | -1/+3 |
| | |||||
* | Get ActionPack's test running on bundled gems. This should make running ↵ | Yehuda Katz | 2009-09-12 | 1 | -4/+1 |
| | | | | tests on new machines, as well as CI, work well. | ||||
* | Add per-controller middleware | Yehuda Katz | 2009-09-12 | 1 | -0/+77 |
| | |||||
* | Test for previous commit (we wrote it first, I swear) | Yehuda Katz + Carl Lerche | 2009-09-03 | 1 | -0/+18 |
| | |||||
* | Refactor ActionView::Resolver | Yehuda Katz + Carl Lerche | 2009-09-03 | 1 | -1/+1 |
| | |||||
* | ActionPack test helpers need to activate rack gem | Joshua Peek | 2009-09-01 | 1 | -0/+4 |
| | |||||
* | Create new ActionController::Middleware class that will work as a normal ↵ | Yehuda Katz | 2009-08-26 | 1 | -6/+5 |
| | | | | | | Rack middleware. * This initial implementation is a bit hackish, but it uses a normal middleware API so it's future-proof when we improve the internals. | ||||
* | Track all AC base subclasses as possible controllers for internal testing | Joshua Peek | 2009-08-25 | 1 | -7/+17 |
| | |||||
* | ActionController::Metal can be a middleware | Yehuda Katz + Carl Lerche | 2009-08-25 | 1 | -0/+45 |
| | |||||
* | Got tests to pass with some more changes. | Yehuda Katz | 2009-08-15 | 4 | -8/+7 |
| | | | | | | | | | | | | | | | | * request.formats is much simpler now * For XHRs or Accept headers with a single item, we use the Accept header * For other requests, we use params[:format] or fallback to HTML * This is primarily to work around the fact that browsers provide completely broken Accept headers, so we have to whitelist the few cases we can specifically isolate and treat other requests as coming from the browser * For APIs, we can support single-item Accept headers, which disambiguates from the browsers * Requests to an action that only has an XML template from the browser will no longer find the template. This worked previously because most browsers provide a catch-all */*, but this was mostly accidental behavior. If you want to serve XML, either use the :xml format in links, or explicitly specify the XML template: render "template.xml". | ||||
* | Remove legacy processing and content_length | Yehuda Katz | 2009-08-02 | 1 | -3/+0 |
| | | | | | | | | | | | * convert_content_type! is handled by assign_default_content_type_and_charset! * set_content_length! should be handled by the endpoint server. Otherwise each middleware that modifies the body has to do the expensive work of recalculating content_length. * convert_language! appears to be legacy. There are no tests for this * convert_cookies! should be handled by the new HeaderHash in Rack * Use an integer for .status's internal representation to avoid needing to do String manipulation just to find out the status | ||||
* | Rename ActionView::Template::Path ActionView::Resolver | Yehuda Katz + Carl Lerche | 2009-06-17 | 11 | -19/+19 |
| | |||||
* | Fixing pending tests and fixed some formats / partial rendering semantics | Yehuda Katz + Carl Lerche | 2009-06-17 | 1 | -0/+46 |
| | |||||
* | Whoops, I guess we broke layouts ;) | Yehuda Katz + Carl Lerche | 2009-06-15 | 2 | -12/+1 |
| | |||||
* | Get the new base tests to pass | Yehuda Katz + Carl Lerche | 2009-06-15 | 1 | -2/+1 |
| | |||||
* | Get tests to run (with failures) without old base around | Yehuda Katz + Carl Lerche | 2009-06-15 | 1 | -173/+0 |
| | |||||
* | ActionPack components should no longer have undeclared dependencies. | Yehuda Katz + Carl Lerche | 2009-06-08 | 1 | -3/+10 |
| | | | | | | | * Tests can be run in isolation * Dependencies added * A few tests modified to avoid depending on AS deps not depended on my files they were testing | ||||
* | Slightly modify things to get content type matching working without breaking ↵ | Yehuda Katz | 2009-05-23 | 2 | -1/+33 |
| | | | | other code | ||||
* | Restore some missing test constants | Jeremy Kemper | 2009-05-22 | 1 | -0/+8 |
| | |||||
* | Add Translation to the new base | Pratik Naik | 2009-05-23 | 1 | -0/+3 |
| | |||||
* | Add some more tests to the test_new_base_on_old_tests task | Pratik Naik | 2009-05-23 | 1 | -0/+1 |
| | |||||
* | Add all the existing helpers related features to the new base | Pratik Naik | 2009-05-23 | 2 | -3/+3 |
| | |||||
* | Make assertion tests pass with the new base | Pratik Naik | 2009-05-22 | 1 | -1/+1 |
| | |||||
* | Require ruby-debug from new_base/abstract_unit | Pratik Naik | 2009-05-22 | 1 | -0/+7 |
| | |||||
* | Move Safari response-padding fix to Rails2Compatibility. Should be a Rack ↵ | Jeremy Kemper | 2009-05-21 | 1 | -3/+3 |
| | | | | concern. | ||||
* | Fixed new_base tests on ruby 1.9 | Yehuda Katz + Carl Lerche | 2009-05-20 | 1 | -1/+1 |
| | |||||
* | Got controller/mime_responds_test.rb running on the new base | Yehuda Katz + Carl Lerche | 2009-05-20 | 1 | -0/+3 |
| | |||||
* | Massage setup for old tests on new base | Jeremy Kemper | 2009-05-20 | 1 | -0/+141 |
| | |||||
* | Replace the class level Rack::Test DSL with the regular integration tests DSL | Pratik Naik | 2009-05-20 | 10 | -564/+477 |
| | |||||
* | Replace ad hoc Rack::Test with ActionController::IntegrationTest | Pratik Naik | 2009-05-20 | 1 | -9/+7 |
| | |||||
* | Merge Failsafe middleware into ShowExceptions | Joshua Peek | 2009-05-17 | 2 | -5/+5 |
| | |||||
* | Instead of checking Rails.env.test? in Failsafe middleware, check ↵ | Bryan Helmkamp | 2009-05-16 | 2 | -5/+7 |
| | | | | env["rails.raise_exceptions"] | ||||
* | Cleaning up more render tests | Yehuda Katz + Carl Lerche | 2009-05-14 | 6 | -32/+103 |
| | |||||
* | Ported over render :file tests. | Yehuda Katz + Carl Lerche | 2009-05-13 | 3 | -1/+151 |
| | |||||
* | Implemented redirects and partial rendering in new base. | Yehuda Katz + Carl Lerche | 2009-05-12 | 1 | -0/+1 |
| | |||||
* | Ported fresh_when into a ConditionalGet module | Yehuda Katz + Carl Lerche | 2009-05-11 | 1 | -0/+47 |
| | |||||
* | Implement FooController.action(:name) | Yehuda Katz | 2009-05-02 | 1 | -1/+1 |
| | | | | | | * Rails actions are now Rack endpoints, and can be retrieved via FooController.action(name) and called with an env * Updated some tests that relied on the old internal #process/#call implementation | ||||
* | Renamed Base2 to Base and don't require old action_controller for new Base | Yehuda Katz + Carl Lerche | 2009-05-01 | 7 | -83/+19 |
| | |||||
* | Starting to get new_base to run on old tests | Yehuda Katz + Carl Lerche | 2009-05-01 | 1 | -0/+2 |
| | |||||
* | Committing the last changes before we start trying to get the old tests to ↵ | Yehuda Katz + Carl Lerche | 2009-05-01 | 2 | -6/+60 |
| | | | | pass on the new base | ||||
* | Ported over the concept of public instance methods on controller child ↵ | Yehuda Katz + Carl Lerche | 2009-05-01 | 2 | -5/+15 |
| | | | | classes as callable action methods | ||||
* | Move ContentType inline for now. | Yehuda Katz + Carl Lerche | 2009-05-01 | 1 | -1/+0 |
| | | | | Trying to avoid premature proliferation of modules. | ||||
* | Support implicit and explicit content types | Yehuda Katz + Carl Lerche | 2009-05-01 | 2 | -0/+112 |
| | |||||
* | Support implicit render and blank render | Yehuda Katz + Carl Lerche | 2009-05-01 | 3 | -16/+54 |
| | |||||
* | Ported over render :template tests | Yehuda Katz + Carl Lerche | 2009-05-01 | 2 | -1/+19 |
| | |||||
* | Finished implementing render :text in Base2 | Yehuda Katz + Carl Lerche | 2009-05-01 | 2 | -1/+21 |
| |