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:
authorRobert Speicher <rspeicher@gmail.com>2017-07-25 01:51:14 +0300
committerRobert Speicher <rspeicher@gmail.com>2017-07-27 20:12:16 +0300
commit1a0064dceb8f9b431bd4e668b1a1973522f6c2d3 (patch)
tree4d2d4a8c89bd87f4e06f4e8a0c110a5b9821508a /spec/features/projects/branches_spec.rb
parentbc0d8112490e2966ffb5775815cd333f10e420a0 (diff)
Use `empty_project` where possible in spec/features/projects
Diffstat (limited to 'spec/features/projects/branches_spec.rb')
-rw-r--r--spec/features/projects/branches_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/projects/branches_spec.rb b/spec/features/projects/branches_spec.rb
index 498dd8ee4bf..6e787de2dd6 100644
--- a/spec/features/projects/branches_spec.rb
+++ b/spec/features/projects/branches_spec.rb
@@ -2,7 +2,7 @@ require 'spec_helper'
describe 'Branches' do
let(:user) { create(:user) }
- let(:project) { create(:project, :public) }
+ let(:project) { create(:project, :public, :repository) }
let(:repository) { project.repository }
def set_protected_branch_name(branch_name)