diff options
author | Robert Speicher <rspeicher@gmail.com> | 2017-07-25 01:51:14 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2017-07-27 20:12:16 +0300 |
commit | 1a0064dceb8f9b431bd4e668b1a1973522f6c2d3 (patch) | |
tree | 4d2d4a8c89bd87f4e06f4e8a0c110a5b9821508a /spec/features/projects/merge_request_button_spec.rb | |
parent | bc0d8112490e2966ffb5775815cd333f10e420a0 (diff) |
Use `empty_project` where possible in spec/features/projects
Diffstat (limited to 'spec/features/projects/merge_request_button_spec.rb')
-rw-r--r-- | spec/features/projects/merge_request_button_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/projects/merge_request_button_spec.rb b/spec/features/projects/merge_request_button_spec.rb index 8cbd26551bc..85d518c0cc3 100644 --- a/spec/features/projects/merge_request_button_spec.rb +++ b/spec/features/projects/merge_request_button_spec.rb @@ -3,8 +3,8 @@ require 'spec_helper' feature 'Merge Request button' do shared_examples 'Merge request button only shown when allowed' do let(:user) { create(:user) } - let(:project) { create(:project, :public) } - let(:forked_project) { create(:project, :public, forked_from_project: project) } + let(:project) { create(:project, :public, :repository) } + let(:forked_project) { create(:project, :public, :repository, forked_from_project: project) } context 'not logged in' do it 'does not show Create merge request button' do |