mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-12 03:50:22 +00:00
Enforce RSpec expect(..).not_to over to_not
This commit is contained in:
@@ -33,7 +33,7 @@ describe Spree::UsersController, type: :controller do
|
||||
get :show
|
||||
|
||||
expect(orders).to include d1o1, d1o2
|
||||
expect(orders).to_not include d1_order_for_u2, d1o3, d2o1
|
||||
expect(orders).not_to include d1_order_for_u2, d1o3, d2o1
|
||||
expect(shops).to include distributor1
|
||||
|
||||
# Doesn't return orders for irrelevant distributors" do
|
||||
|
||||
Reference in New Issue
Block a user