mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Refactoring test to adopt most Rspec syntax (expect instead of should)
This commit is contained in:
@@ -54,7 +54,7 @@ module Spree
|
||||
end
|
||||
|
||||
it "finds line items sorted by name and unit_value" do
|
||||
o.line_items.sorted_by_name_and_unit_value.should == [li5,li6,li4,li3]
|
||||
expect(o.line_items.sorted_by_name_and_unit_value).to eq([li5,li6,li4,li3])
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user