mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-07 03:01:33 +00:00
Remove is_master and not_master scopes
(cherry picked from commit 1daab8994d)
This commit is contained in:
@@ -42,7 +42,7 @@ describe Api::V0::VariantsController, type: :controller do
|
||||
# Regression test for spree#2141
|
||||
context "a deleted variant" do
|
||||
before do
|
||||
expect(Spree::Variant.not_master.count).to eq 7
|
||||
expect(Spree::Variant.count).to eq 7
|
||||
variant.update_column(:deleted_at, Time.zone.now)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user