Sha256: d927b99a9868599ef623fc3589a530b017fcb71bf5d240067cc5411ea0efb498

Contents?: true

Size: 297 Bytes

Versions: 2

Compression:

Stored size: 297 Bytes

Contents

require 'minitest/autorun'
require 'smartsend'

class ShipmentTest < Minitest::Test

  def test_find_label
    Smartsend.configure(
      api_token: ENV['SMARTSEND_TOKEN'],
    )

    assert_raises Smartsend::NotFoundError do
      Smartsend::Label.find_by_tracking_code('123')
    end
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
smartsend-ruby-0.5.1 test/test_label.rb
smartsend-ruby-0.5.0 test/test_label.rb