blob: 7242b38ee79c9be248efa0bfe774f624018be513 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
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
|