Skip to content

Commit

Permalink
remove spec for Stock::Package shipping_categories
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewpbrett committed Sep 19, 2020
1 parent 36a631d commit ff1a3f1
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,16 +157,6 @@ module Stock
expect(package.shipping_methods).to eq [shipping_method1]
end
end

describe '#shipping_categories' do
it "returns ship categories that are not the ship categories of the order's products" do
package
other_shipping_category = Spree::ShippingCategory.create(name: "Custom")

expect(package.shipping_categories).to eq [shipping_method1.shipping_categories.first,
other_shipping_category]
end
end
end
end
end
Expand Down

0 comments on commit ff1a3f1

Please sign in to comment.