summaryrefslogtreecommitdiff
path: root/spec/features/projects/services
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2017-07-24 18:51:14 -0400
committerRobert Speicher <rspeicher@gmail.com>2017-07-27 13:12:16 -0400
commit1a0064dceb8f9b431bd4e668b1a1973522f6c2d3 (patch)
tree4d2d4a8c89bd87f4e06f4e8a0c110a5b9821508a /spec/features/projects/services
parentbc0d8112490e2966ffb5775815cd333f10e420a0 (diff)
downloadgitlab-ce-1a0064dceb8f9b431bd4e668b1a1973522f6c2d3.tar.gz
Use `empty_project` where possible in spec/features/projects
Diffstat (limited to 'spec/features/projects/services')
-rw-r--r--spec/features/projects/services/slack_service_spec.rb2
-rw-r--r--spec/features/projects/services/slack_slash_command_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/projects/services/slack_service_spec.rb b/spec/features/projects/services/slack_service_spec.rb
index c10ec5e2987..824cae261e0 100644
--- a/spec/features/projects/services/slack_service_spec.rb
+++ b/spec/features/projects/services/slack_service_spec.rb
@@ -3,7 +3,7 @@ require 'spec_helper'
feature 'Projects > Slack service > Setup events' do
let(:user) { create(:user) }
let(:service) { SlackService.new }
- let(:project) { create(:project, slack_service: service) }
+ let(:project) { create(:empty_project, slack_service: service) }
background do
service.fields
diff --git a/spec/features/projects/services/slack_slash_command_spec.rb b/spec/features/projects/services/slack_slash_command_spec.rb
index a8baf126269..6002c589fba 100644
--- a/spec/features/projects/services/slack_slash_command_spec.rb
+++ b/spec/features/projects/services/slack_slash_command_spec.rb
@@ -2,7 +2,7 @@ require 'spec_helper'
feature 'Slack slash commands' do
given(:user) { create(:user) }
- given(:project) { create(:project) }
+ given(:project) { create(:empty_project) }
given(:service) { project.create_slack_slash_commands_service }
background do