Sha256: 1ee177aa499b303d841a13bc6d944aba1c546d70cd94b8656e9f57f7c22076a6

Contents?: true

Size: 569 Bytes

Versions: 2

Compression:

Stored size: 569 Bytes

Contents

require 'request_helper'
require 'mws/sellers/requests/service_status'

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

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
peddler-0.6.5 test/mws/sellers/requests/test_service_status.rb
peddler-0.6.4 test/mws/sellers/requests/test_service_status.rb