Sha256: ace17592c21ca88b516b56d8130c544e1c5b438ec7125f591d3eee5332713ad8

Contents?: true

Size: 499 Bytes

Versions: 4

Compression:

Stored size: 499 Bytes

Contents

require "test_helper"

class TestServiceStatus < MiniTest::Test
  def setup
    node = load_xml_fixture("service_status").xpath("//xmlns:GetServiceStatusResult").first
    @status = ServiceStatus.new(node)
  end

  def test_status
    assert_kind_of String, @status.status
  end

  def test_timestamp
    assert_kind_of Time, @status.timestamp
  end

  def test_message_id
    assert_kind_of String, @status.message_id
  end

  def test_messages
    assert_kind_of Array, @status.messages
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mws-orders-0.2.1 test/mws/orders/test_service_status.rb
mws-orders-0.2.0 test/mws/orders/test_service_status.rb
mws-orders-0.1.1 test/mws/orders/test_service_status.rb
mws-orders-0.1.0 test/mws/orders/test_service_status.rb