blob: 5b81e46660299dd9b519ec0a1653198dc431e4e6 (
plain)
1
2
3
4
5
6
7
8
9
10
|
require 'test_helper'
require 'nickserver/error_response'
class ErrorResponseTest < Minitest::Test
def test_content
response = Nickserver::ErrorResponse.new 'Not a valid address'
assert_equal "500 Not a valid address\n", response.content
assert_equal 500, response.status
end
end
|