New step to choose emoji set

This commit is contained in:
Robin Ward
2016-09-21 11:22:46 -04:00
parent 8f36f95180
commit 2a0443445b
8 changed files with 89 additions and 2 deletions

View File

@@ -204,6 +204,17 @@ describe Wizard::StepUpdater do
end
end
context "emoji step" do
it "updates the fields correctly" do
updater = wizard.create_updater('emoji', emoji_set: "twitter")
updater.update
expect(updater).to be_success
expect(wizard.completed_steps?('emoji')).to eq(true)
expect(SiteSetting.emoji_set).to eq('twitter')
end
end
context "invites step" do
let(:invites) {