mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Fix spec to test the right report
Probably a copy&paste error. The PackingReport had exactly the same spec.
This commit is contained in:
committed by
Kristina Lim
parent
dac4d4ff1a
commit
6ee27cd166
@@ -15,7 +15,7 @@ module OpenFoodNetwork
|
||||
|
||||
describe "fetching orders" do
|
||||
context "as a site admin" do
|
||||
subject { PackingReport.new admin_user, {}, true }
|
||||
subject { OrdersAndFulfillmentsReport.new admin_user, {}, true }
|
||||
|
||||
it "fetches completed orders" do
|
||||
o2 = create(:order)
|
||||
|
||||
Reference in New Issue
Block a user