Sha256: a0e6516f1e9a459bf3764184ba9dabc30a4365b875eff07b9e8e3569a0192a24

Contents?: true

Size: 454 Bytes

Versions: 2

Compression:

Stored size: 454 Bytes

Contents

require_relative 'test_helper'

class ServiceStatusRequestTest < RequestTestHelper
  def mock_response_body
    <<-EOF
      <Response xmlns="ns">
        <GetServiceStatusResult>
          <Status>GREEN</Status>
        </GetServiceStatusResult>
      </Response>
    EOF
  end

  def setup
    @status = Request::ServiceStatus.new(mock_client)
  end

  def test_gets_status
    res = @status.get
    assert_kind_of Parser::ServiceStatus, res
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mws-orders-0.0.2 test/requests/service_status_test.rb
mws-orders-0.0.1 test/requests/service_status_test.rb