diff options
author | Felipe Artur <felipefac@gmail.com> | 2016-07-13 16:49:47 -0300 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2016-07-20 12:11:37 -0300 |
commit | 323d796a0e7b5f1ef5a170f9918897f6a2d4121e (patch) | |
tree | 73a2939ff4a647e00c251171f3c8094acba355e0 /spec/models/project_services | |
parent | ede048b930b2ceb89013793d878524eb20248d1f (diff) | |
download | gitlab-ce-323d796a0e7b5f1ef5a170f9918897f6a2d4121e.tar.gz |
Refactor service settings viewissue_8110
Diffstat (limited to 'spec/models/project_services')
-rw-r--r-- | spec/models/project_services/slack_service_spec.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/models/project_services/slack_service_spec.rb b/spec/models/project_services/slack_service_spec.rb index 1beb7c63b0b..df511b1bc4c 100644 --- a/spec/models/project_services/slack_service_spec.rb +++ b/spec/models/project_services/slack_service_spec.rb @@ -139,7 +139,7 @@ describe SlackService, models: true do end context "event channels" do - it "should user the right channel for push event" do + it "uses the right channel for push event" do slack.update_attributes(push_channel: "random") expect(Slack::Notifier).to receive(:new). @@ -151,7 +151,7 @@ describe SlackService, models: true do slack.execute(push_sample_data) end - it "should use the right channel for merge request event" do + it "uses the right channel for merge request event" do slack.update_attributes(merge_request_channel: "random") expect(Slack::Notifier).to receive(:new). @@ -163,7 +163,7 @@ describe SlackService, models: true do slack.execute(@merge_sample_data) end - it "should use the right channel for issue event" do + it "uses the right channel for issue event" do slack.update_attributes(issue_channel: "random") expect(Slack::Notifier).to receive(:new). @@ -175,7 +175,7 @@ describe SlackService, models: true do slack.execute(@issues_sample_data) end - it "should use the right channel for wiki event" do + it "uses the right channel for wiki event" do slack.update_attributes(wiki_page_channel: "random") expect(Slack::Notifier).to receive(:new). @@ -192,7 +192,7 @@ describe SlackService, models: true do create(:note_on_issue, project: project, note: "issue note") end - it "should use the right channel" do + it "uses the right channel" do slack.update_attributes(note_channel: "random") note_data = Gitlab::NoteDataBuilder.build(issue_note, user) |