mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-26 20:56:48 +00:00
Transpec taxon_spec
This commit is contained in:
@@ -65,8 +65,8 @@ module Spree
|
||||
|
||||
context "with parent taxon" do
|
||||
before do
|
||||
taxon.stub parent_id: 123
|
||||
taxon.stub parent: build(:taxon, permalink: "brands")
|
||||
allow(taxon).to receive_messages parent_id: 123
|
||||
allow(taxon).to receive_messages parent: build(:taxon, permalink: "brands")
|
||||
end
|
||||
|
||||
it "should set permalink correctly when taxon has parent" do
|
||||
|
||||
Reference in New Issue
Block a user