Sha256: fbc1f5d6148619b3602b774779b1c4163e455f1576968d3b99bf41f079e7374e

Contents?: true

Size: 292 Bytes

Versions: 45

Compression:

Stored size: 292 Bytes

Contents

require_relative 'helper'

class MxHeroResponseTest < MiniTest::Unit::TestCase
  def test_sucess
    [200, 201, '200', '201'].each do |success_code|
      response = MxHero::API::Response.new(success_code, '')
      assert response.success?
      assert response.msg == ''
    end
  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
mxhero-api-0.1.5 test/test_mxhero_api_response.rb
mxhero-api-0.1.3 test/test_mxhero_api_response.rb
mxhero-api-0.1.2 test/test_mxhero_api_response.rb
mxhero-api-0.1.1 test/test_mxhero_api_response.rb
mxhero-api-0.0.1 test/test_mxhero_api_response.rb