Skip to content

A platform for community discussion. Free, open, simple.

Update wizard updater spec (dbbadb5c follow-up)

Maja Komel73c776d881d4
diff --git a/spec/components/wizard/step_updater_spec.rb b/spec/components/wizard/step_updater_spec.rb
index 4fbe5438767..dd6adfcd376 100644
--- a/spec/components/wizard/step_updater_spec.rb
+++ b/spec/components/wizard/step_updater_spec.rb
@@ -29,12 +29,13 @@ describe Wizard::StepUpdater do
end
it "updates the forum title step" do
- updater = wizard.create_updater('forum_title', title: 'new forum title', site_description: 'neat place')
+ updater = wizard.create_updater('forum_title', title: 'new forum title', site_description: 'neat place', short_site_description: 'best community')
updater.update
expect(updater.success?).to eq(true)
expect(SiteSetting.title).to eq("new forum title")
expect(SiteSetting.site_description).to eq("neat place")
+ expect(SiteSetting.short_site_description).to eq("best community")
expect(wizard.completed_steps?('forum-title')).to eq(true)
end