Sha256: 4d0d40ff212dde66fa79a87fe34d9e3368f8a594f848f85b98b25bf228bd2171

Contents?: true

Size: 825 Bytes

Versions: 5

Compression:

Stored size: 825 Bytes

Contents

require 'test_helper'

class ShipmentTest < Test::Unit::TestCase
  def setup
    @shipment = ShipmentFactory.build(:fedex)
  end

  def test_should_have_ship_at
    assert_not_nil @shipment.ship_at 
  end

  def test_should_have_service
    assert_not_nil @shipment.service
  end

  def test_should_have_valid_service
  end

  def test_should_have_packaging_type
    assert_not_nil @shipment.packaging_type
  end

  def test_should_have_shipper
    assert_not_nil @shipment.shipper
  end

  def test_should_have_recipient
    assert_not_nil @shipment.recipient
  end

  def test_should_have_payment_type
    assert_not_nil @shipment.payment_type
  end

  def test_should_have_label
    assert_not_nil @shipment.label
  end

  def test_should_have_requested_packages
    assert_not_nil @shipment.requested_packages
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
active_shipping-0.1.4 test/unit/shipment_test.rb
active_shipping-0.1.3 test/unit/shipment_test.rb
active_shipping-0.1.2 test/unit/shipment_test.rb
active_shipping-0.1.1 test/unit/shipment_test.rb
active_shipping-0.1.0 test/unit/shipment_test.rb