Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-11-18 18:16:45 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2016-11-18 19:27:14 +0300
commit1db1896ed2375481d53f74f7900d259fe068ef64 (patch)
treeec82ca5c9ba8da236aa78a207c7926dcf3ef5fe4 /spec/models/project_services
parentc72c76fde3882b7c2f778bf85132cd2c80f01f5b (diff)
Rename mattermost_command to mattermost_slash_commands
Diffstat (limited to 'spec/models/project_services')
-rw-r--r--spec/models/project_services/mattermost_slash_commands_service_spec.rb (renamed from spec/models/project_services/mattermost_command_service_spec.rb)6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/models/project_services/mattermost_command_service_spec.rb b/spec/models/project_services/mattermost_slash_commands_service_spec.rb
index 21bf1d35e3f..4a1037e950b 100644
--- a/spec/models/project_services/mattermost_command_service_spec.rb
+++ b/spec/models/project_services/mattermost_slash_commands_service_spec.rb
@@ -1,6 +1,6 @@
require 'spec_helper'
-describe MattermostCommandService, models: true do
+describe MattermostSlashCommandsService, models: true do
describe "Associations" do
it { is_expected.to respond_to :token }
end
@@ -66,7 +66,7 @@ describe MattermostCommandService, models: true do
end
let(:service) do
- project.create_mattermost_command_service(
+ project.create_mattermost_slash_commands_service(
properties: { token: 'token' }
)
end
@@ -82,7 +82,7 @@ describe MattermostCommandService, models: true do
context 'when the user is authenticated' do
let!(:chat_name) { create(:chat_name, service: service) }
let(:service) do
- project.create_mattermost_command_service(
+ project.create_mattermost_slash_commands_service(
properties: { token: 'token' }
)
end