summaryrefslogtreecommitdiff
path: root/test/unit/response_test.rb
blob: ac7a3a870496cc3af9023e94064779570eb86c17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
require 'test_helper'
require 'nickserver/response'

class ResponseTest < Minitest::Test

  def test_ok_response
    response = Nickserver::Response.new 200, "content"
    assert_equal "content", response.content
    assert_equal 200, response.status
  end

end