diff options
author | Jorge Bejar <jorge@wyeworks.com> | 2015-05-05 15:15:15 -0300 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2015-06-11 16:54:14 -0300 |
commit | 08cfe34174d5cb496d4a312858ca46431463b5a8 (patch) | |
tree | 28bf167561c85569d9eaf2b9c0032a317c485925 /actionpack | |
parent | 2487bfb39a8ef5e18fd9cc8f971395139e7c727c (diff) | |
download | rails-08cfe34174d5cb496d4a312858ca46431463b5a8.tar.gz rails-08cfe34174d5cb496d4a312858ca46431463b5a8.tar.bz2 rails-08cfe34174d5cb496d4a312858ca46431463b5a8.zip |
Rename test methods in api conditional get controller tests
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/test/controller/api/conditional_get_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/api/conditional_get_test.rb b/actionpack/test/controller/api/conditional_get_test.rb index 3863e2a45d..d1eb27bf24 100644 --- a/actionpack/test/controller/api/conditional_get_test.rb +++ b/actionpack/test/controller/api/conditional_get_test.rb @@ -29,13 +29,13 @@ class ConditionalGetApiTest < ActionController::TestCase @last_modified = Time.now.utc.beginning_of_day.httpdate end - def test_request_with_bang_gets_last_modified + def test_request_gets_last_modified get :two assert_equal @last_modified, @response.headers['Last-Modified'] assert_response :success end - def test_request_with_bang_obeys_last_modified + def test_request_obeys_last_modified @request.if_modified_since = @last_modified get :two assert_response :not_modified |