From 2c95878fd6421c4eb323194481d14a355a446d38 Mon Sep 17 00:00:00 2001 From: Toshimaru Date: Fri, 14 Jul 2017 18:12:42 +0900 Subject: [PATCH] Update CodeClimate badges (#195) * Update CodeClimate badge * Update badges to the latest --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fed6c135..ae824744 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Rack::Test [](https://travis-ci.org/rack-test/rack-test) -[](https://codeclimate.com/github/rack-test/rack-test) -[](https://codeclimate.com/github/rack-test/rack-test) +[![Code Climate](https://codeclimate.com/github/codeclimate/codeclimate/badges/gpa.svg)](https://codeclimate.com/github/codeclimate/codeclimate) +[![Test Coverage](https://codeclimate.com/github/codeclimate/codeclimate/badges/coverage.svg)](https://codeclimate.com/github/codeclimate/codeclimate/coverage) Code: https://github.com/rack-test/rack-test @@ -38,7 +38,7 @@ class HomepageTest < Test::Unit::TestCase assert last_response.ok? assert_equal last_response.body, "All responses are OK" end - + def set_request_headers headers 'Accept-Charset', 'utf-8' get "/"