Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Ensure cookie keys are strings | Andrew White | 2011-06-05 | 1 | -0/+9 |
| | |||||
* | Refactor ActionController::TestCase cookies | Andrew White | 2011-06-04 | 1 | -6/+9 |
| | | | | | | | | | | | | | | | | | | Assigning cookies for test cases should now use cookies[], e.g: cookies[:email] = 'user@example.com' get :index assert_equal 'user@example.com', cookies[:email] To clear the cookies, use clear, e.g: cookies.clear get :index assert_nil cookies[:email] We now no longer write out HTTP_COOKIE and the cookie jar is persistent between requests so if you need to manipulate the environment for your test you need to do it before the cookie jar is created. | ||||
* | Improve testing of cookies in functional tests: | Andrew White | 2011-03-06 | 1 | -2/+2 |
| | | | | | | | | | - cookies can be set using string or symbol keys - cookies are preserved across calls to get, post, etc. - cookie names and values are escaped - cookies can be cleared using @request.cookies.clear [#6272 state:resolved] | ||||
* | Expect Rack 1.1 | Joshua Peek | 2009-12-26 | 1 | -1/+1 |
| | |||||
* | Rack: HTTPS is either 'on' or 'off' as of ↵ | Jeremy Kemper | 2009-11-10 | 1 | -1/+1 |
| | | | | 9b7a0569e4067d0c23a00fc24273436e85c56d7f | ||||
* | Fix a few more 1.9 bugs. Rack 1.0.1 is required for 1.9 compliance but not ↵ | Yehuda Katz | 2009-10-15 | 1 | -1/+1 |
| | | | | release, so bundling 1.0.1 from git | ||||
* | rack-test 0.4.2 has rack 1.1.pre goodies, we'll use it instead | Joshua Peek | 2009-08-31 | 1 | -2/+2 |
| | |||||
* | Fix implicit ordering expectation | Jeremy Kemper | 2009-05-02 | 1 | -1/+1 |
| | |||||
* | Move TestRequest cookies accessor into AD TestRequest | Joshua Peek | 2009-04-30 | 1 | -0/+15 |
| | |||||
* | Depend on unreleased rack 1.1 | Joshua Peek | 2009-04-30 | 1 | -1/+1 |
| | |||||
* | Start moving TestRequest and TestResponse into ActionDispatch | Joshua Peek | 2009-04-30 | 1 | -0/+30 |