summaryrefslogtreecommitdiff
path: root/test/unit/response_test.rb
blob: 401f8ee91079a6fbd89d939f115004050dfcda4a (plain)
1
2
3
4
5
6
7
8
9
10
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