summaryrefslogtreecommitdiff
path: root/spec/features/protected_branches_spec.rb
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2017-03-28 17:13:16 -0400
committerRobert Speicher <rspeicher@gmail.com>2017-04-20 17:30:55 -0400
commitaef345024f72ca8d4b57a65b149d018a50219a87 (patch)
treed51c393848fbf30c98fb59f3fc9dab6332d96b11 /spec/features/protected_branches_spec.rb
parentb8b6ab6b91c05350e6fc50f21273ca18237af858 (diff)
downloadgitlab-ce-aef345024f72ca8d4b57a65b149d018a50219a87.tar.gz
Use `:empty_project` where possible in top-level feature specsrs-empty-project-features
Diffstat (limited to 'spec/features/protected_branches_spec.rb')
-rw-r--r--spec/features/protected_branches_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/protected_branches_spec.rb b/spec/features/protected_branches_spec.rb
index 1a3f7b970f6..e9e2a009ed5 100644
--- a/spec/features/protected_branches_spec.rb
+++ b/spec/features/protected_branches_spec.rb
@@ -5,7 +5,7 @@ feature 'Projected Branches', feature: true, js: true do
include WaitForAjax
let(:user) { create(:user, :admin) }
- let(:project) { create(:project) }
+ let(:project) { create(:project, :repository) }
before { login_as(user) }