require "spec_helper" module ShipCompliant describe Package do context "tracking_number" do it "gets the tracking_number" do expect(subject.tracking_number).to eq('tracking-number') end end context "tracking_status" do it "gets the tracking_status" do expect(subject.tracking_status).to eq('Lost in Transit') end end subject do Package.new( tracking_number: 'tracking-number', tracking_status: 'Lost in Transit' ) end end end