Sha256: 6ab3bd531750d4092dccabc935e2297f5d7b37d7e49dd11f98412831b18cc81b

Contents?: true

Size: 499 Bytes

Versions: 1

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

1 entries across 1 versions & 1 rubygems

Version Path
mws-orders-0.2.2 test/mws/orders/test_service_status.rb