Remove unused methods

* `assert_header` and `assert_body` were unused since 6f6a589.
* `assert_success` and `assert_missing` were unused since added.
This commit is contained in:
yuuji.yaginuma 2017-12-28 12:07:18 +09:00
parent 17ad4eb6fb
commit 41c8e41ff1
1 changed files with 0 additions and 16 deletions

View File

@ -82,22 +82,6 @@ module TestHelpers
assert_match "charset=utf-8", resp[1]["Content-Type"]
assert extract_body(resp).match(/Yay! You.*re on Rails!/)
end
def assert_success(resp)
assert_equal 202, resp[0]
end
def assert_missing(resp)
assert_equal 404, resp[0]
end
def assert_header(key, value, resp)
assert_equal value, resp[1][key.to_s]
end
def assert_body(expected, resp)
assert_equal expected, extract_body(resp)
end
end
module Generation