Skip to content

Commit

Permalink
Add assertion for get? method into test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
meinac committed May 27, 2015
1 parent 8524608 commit 01d4e06
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions actionpack/test/dispatch/request_test.rb
Expand Up @@ -663,6 +663,7 @@ class RequestMethod < BaseRequestTest

assert_equal 'GET', request.request_method
assert_equal 'GET', request.env["REQUEST_METHOD"]
assert request.get?
end

test "invalid http method raises exception" do
Expand Down

0 comments on commit 01d4e06

Please sign in to comment.