diff --git a/spec/components/custom_wizard/wizard_spec.rb b/spec/components/custom_wizard/wizard_spec.rb index 9808f32f..ebb3ed7f 100644 --- a/spec/components/custom_wizard/wizard_spec.rb +++ b/spec/components/custom_wizard/wizard_spec.rb @@ -199,6 +199,7 @@ describe CustomWizard::Wizard do end it "lists the site categories" do + Site.clear_cache expect(@wizard.categories.length).to eq(1) end