Remove is_master and not_master scopes

(cherry picked from commit 1daab8994d)
This commit is contained in:
Matt-Yorkley
2023-06-05 12:50:40 +01:00
committed by David Cook
parent 5b73ccb213
commit aa9fd682d8
13 changed files with 9 additions and 19 deletions

View File

@@ -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