Skip to content

Commit 34b90ca

Browse files
Add missing expectation
This example would "pass" regardless of whether we used an quality check or unequality check. We need to `expect` here. Co-authored-by: Noah Silvera <[email protected]>
1 parent cd5b4be commit 34b90ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/spec/models/spree/stock/simple_coordinator_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ module Stock
3939
end
4040

4141
it "builds a shipment for all active stock locations" do
42-
subject.shipments.count == StockLocation.count
42+
expect(subject.shipments.count).to eq StockLocation.count
4343
end
4444

4545
it 'uses the pluggable inventory unit builder class' do

0 commit comments

Comments
 (0)