diff options
author | Robert Speicher <rspeicher@gmail.com> | 2017-01-26 00:44:33 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2017-01-26 01:14:38 +0300 |
commit | 4642ca6686d30e1bb203ece4836a294c868a6250 (patch) | |
tree | d9c1847421c210f108453905d6a3d53ad7b5579c /spec/controllers/groups_controller_spec.rb | |
parent | d55839120e92be48b30d248ce9d72a19be038c79 (diff) |
Use `empty_project` where possible in controller specs
Diffstat (limited to 'spec/controllers/groups_controller_spec.rb')
-rw-r--r-- | spec/controllers/groups_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/groups_controller_spec.rb b/spec/controllers/groups_controller_spec.rb index 98dfb3e5216..cad82a34fb0 100644 --- a/spec/controllers/groups_controller_spec.rb +++ b/spec/controllers/groups_controller_spec.rb @@ -3,7 +3,7 @@ require 'rails_helper' describe GroupsController do let(:user) { create(:user) } let(:group) { create(:group) } - let(:project) { create(:project, namespace: group) } + let(:project) { create(:empty_project, namespace: group) } let!(:group_member) { create(:group_member, group: group, user: user) } describe 'GET #index' do |