From d110f252bb75b6056f0561f8834bc2422cfa3fbc Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Thu, 9 May 2019 17:02:32 +0800 Subject: [PATCH] DEV: Remove unsued option from spec. --- spec/components/wizard/step_updater_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/components/wizard/step_updater_spec.rb b/spec/components/wizard/step_updater_spec.rb index 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 do context 'dark theme' do it "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 do context 'light theme' do it "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 do context "without an existing scheme" do it "creates the scheme" do ColorScheme.destroy_all - updater = wizard.create_updater('colors', theme_previews: 'Dark', allow_dark_light_selection: true) + updater = wizard.create_updater('colors', theme_previews: 'Dark') updater.update expect(updater.success?).to eq(true) expect(wizard.completed_steps?('colors')).to eq(true)