mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
New step to choose emoji set
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user