Sha256: cdfdbe7632eb4c05aa68863b43b62ec06a434a7dae5e8f335c174d5b7a1e2fcb

Contents?: true

Size: 565 Bytes

Versions: 6

Compression:

Stored size: 565 Bytes

Contents

require 'request_helper'
require 'mws/orders/requests/service_status'

class MWSOrdersServiceStatusRequestTest < RequestTest
  def mock_response_body
    <<-EOF
      <Response xmlns="ns">
        <Result>
          <GetServiceStatusResult>
            <Status>GREEN</Status>
          </GetServiceStatusResult>
        </Result>
      </Response>
    EOF
  end

  def setup
    @status = MWS::Orders::Requests::ServiceStatus.new(mock_client)
  end

  def test_gets_status
    res = @status.get
    assert_kind_of MWS::Orders::Parsers::ServiceStatus, res
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
peddler-0.6.5 test/mws/orders/requests/test_service_status.rb
peddler-0.6.4 test/mws/orders/requests/test_service_status.rb
peddler-0.6.3 test/mws/orders/requests/test_service_status.rb
peddler-0.6.2 test/mws/orders/requests/test_service_status.rb
peddler-0.6.1 test/mws/orders/requests/test_service_status.rb
peddler-0.6.0 test/mws/orders/requests/test_service_status.rb