diff options
author | Robert Speicher <rspeicher@gmail.com> | 2017-07-24 18:51:14 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2017-07-27 13:12:16 -0400 |
commit | 1a0064dceb8f9b431bd4e668b1a1973522f6c2d3 (patch) | |
tree | 4d2d4a8c89bd87f4e06f4e8a0c110a5b9821508a /spec/features/projects/services | |
parent | bc0d8112490e2966ffb5775815cd333f10e420a0 (diff) | |
download | gitlab-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.rb | 2 | ||||
-rw-r--r-- | spec/features/projects/services/slack_slash_command_spec.rb | 2 |
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 |