A platform for community discussion. Free, open, simple.
DEV: Remove unsued option from spec.
Guo Xiang Tand110f252bb75
diff --git a/spec/components/wizard/step_updater_spec.rb b/spec/components/wizard/step_updater_spec.rbindex b8cec248747..81e2dbca189 100644--- a/spec/components/wizard/step_updater_spec.rb+++ b/spec/components/wizard/step_updater_spec.rb@@ -190,7 +190,7 @@ describe Wizard::StepUpdater docontext 'dark theme' doit "creates the theme" do- updater = wizard.create_updater('colors', theme_previews: 'Dark', allow_dark_light_selection: true)+ updater = wizard.create_updater('colors', theme_previews: 'Dark')expect { updater.update }.to change { Theme.count }.by(1)@@ -203,7 +203,7 @@ describe Wizard::StepUpdater docontext 'light theme' doit "creates the theme" do- updater = wizard.create_updater('colors', allow_dark_light_selection: true)+ updater = wizard.create_updater('colors', {})expect { updater.update }.to change { Theme.count }.by(1)@@ -218,7 +218,7 @@ describe Wizard::StepUpdater docontext "without an existing scheme" doit "creates the scheme" doColorScheme.destroy_all- updater = wizard.create_updater('colors', theme_previews: 'Dark', allow_dark_light_selection: true)+ updater = wizard.create_updater('colors', theme_previews: 'Dark')updater.updateexpect(updater.success?).to eq(true)expect(wizard.completed_steps?('colors')).to eq(true)