Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add failing test case for #6053 | Andrew White | 2012-04-29 | 1 | -0/+21 |
| | |||||
* | Don't convert params if the request isn't HTML - fixes #5341 | Andrew White | 2012-04-29 | 1 | -2/+40 |
| | |||||
* | Merge session arg with existing session instead of overwriting | Andrew White | 2012-04-28 | 1 | -0/+20 |
| | | | | | | | | | | | | | | | | | | | | | | | This may break existing tests that are asserting the whole session contents but should not break existing tests that are asserting individual keys - e.g: class SomeControllerTest < ActionController::TestCase setup do session['user_id'] = 1 end test "some test" do get :some_action, nil, { 'another_var' => 2 } # This assertion will now fail assert_equal({ 'another_var' => 2 }, session) # This assertion will still pass assert_equal 2, session['another_var] end end Fixes #1529. | ||||
* | Remove default match without specified method | Jose and Yehuda | 2012-04-24 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | In the current router DSL, using the +match+ DSL method will match all verbs for the path to the specified endpoint. In the vast majority of cases, people are currently using +match+ when they actually mean +get+. This introduces security implications. This commit disallows calling +match+ without an HTTP verb constraint by default. To explicitly match all verbs, this commit also adds a :via => :all option to +match+. Closes #5964 | ||||
* | assigns(:foo) should not convert @foo's keys to strings if it happens to be ↵ | Will Bryant | 2012-02-18 | 1 | -0/+5 |
| | | | | a hash | ||||
* | replacing the orderhash with hash for ruby-1.9 | ganesh | 2012-02-09 | 1 | -3/+2 |
| | |||||
* | Rename test class and fix tests to keep consistency | Carlos Antonio da Silva | 2012-01-17 | 1 | -10/+10 |
| | | | | Based on 50d23bc2bd3653b3c66e480c22ae97c5f7fd7f62. | ||||
* | Remove rescue_action from compatibility module and tests | Carlos Antonio da Silva | 2012-01-17 | 1 | -3/+0 |
| | |||||
* | AC:TestCase::Behavior#head only accepts parameters as second argument | Rafael Mendonça França | 2012-01-10 | 1 | -0/+4 |
| | |||||
* | Whitespaces :scissors: | Rafael Mendonça França | 2012-01-10 | 1 | -4/+4 |
| | |||||
* | Fix ActionController::TestCase::Behavior.head | Rafael Mendonça França | 2012-01-10 | 1 | -0/+5 |
| | |||||
* | Revert "remove deprecated API" | Aaron Patterson | 2012-01-05 | 1 | -0/+7 |
| | | | | This reverts commit f53c247d10acbaacb0d61824cfce888c4b0520d2. | ||||
* | remove deprecated API | Aaron Patterson | 2012-01-05 | 1 | -7/+0 |
| | |||||
* | moving test_test.rb to test_case_test.rb for consistency. | Nick Sutterer | 2012-01-03 | 1 | -0/+820 |