Sha256: df57d95a2d1b11516b54757bfdd37c8bf2b88fbca3267a4e512be6ebfb65511c

Contents?: true

Size: 517 Bytes

Versions: 4

Compression:

Stored size: 517 Bytes

Contents

require "spec_helper"

module ShipCompliant
  describe Package do

    context "tracking_number" do
      it "gets the tracking_number" do
        subject.tracking_number.should == 'tracking-number'
      end
    end

    context "tracking_status" do
      it "gets the tracking_status" do
        subject.tracking_status.should == 'Lost in Transit'
      end
    end

    subject do
      Package.new(
        tracking_number: 'tracking-number',
        tracking_status: 'Lost in Transit'
      )
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ship_compliant-0.2.0 spec/lib/ship_compliant/package_spec.rb
ship_compliant-0.1.2 spec/lib/ship_compliant/package_spec.rb
ship_compliant-0.1.1 spec/lib/ship_compliant/package_spec.rb
ship_compliant-0.1.0 spec/lib/ship_compliant/package_spec.rb