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/users_controller_spec.rb | |
parent | d55839120e92be48b30d248ce9d72a19be038c79 (diff) |
Use `empty_project` where possible in controller specs
Diffstat (limited to 'spec/controllers/users_controller_spec.rb')
-rw-r--r-- | spec/controllers/users_controller_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/users_controller_spec.rb b/spec/controllers/users_controller_spec.rb index 19a8b1fe524..bbe9aaf737f 100644 --- a/spec/controllers/users_controller_spec.rb +++ b/spec/controllers/users_controller_spec.rb @@ -73,7 +73,7 @@ describe UsersController do end context 'forked project' do - let(:project) { create(:project) } + let(:project) { create(:empty_project) } let(:forked_project) { Projects::ForkService.new(project, user).execute } before do @@ -91,7 +91,7 @@ describe UsersController do end describe 'GET #calendar_activities' do - let!(:project) { create(:project) } + let!(:project) { create(:empty_project) } let!(:user) { create(:user) } before do |