Sha256: 24bc9562b9d24adf2d63136fa29ea65c201dffc82279ed4cd2ed823597d6f6c1

Contents?: true

Size: 569 Bytes

Versions: 1

Compression:

Stored size: 569 Bytes

Contents

# frozen_string_literal: true

require 'test_helper'

class TestServiceStatus < MiniTest::Test
  def setup
    node =
      load_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.4.0 test/mws/orders/test_service_status.rb