diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-07-25 23:43:18 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-07-25 23:43:55 +0300 |
commit | 88aed4096274db4b2cf61c0afaa7c1df5c5f5b33 (patch) | |
tree | db5f53148d2aa16270bb3b0d313b76375ff1c4b2 /spec/services/projects | |
parent | d92668a05bf35995b4b93069269084ee5db93484 (diff) |
Create project services on Project creation
Diffstat (limited to 'spec/services/projects')
-rw-r--r-- | spec/services/projects/create_service_spec.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/services/projects/create_service_spec.rb b/spec/services/projects/create_service_spec.rb index 3e3d85db858..66cdfd5d758 100644 --- a/spec/services/projects/create_service_spec.rb +++ b/spec/services/projects/create_service_spec.rb @@ -10,6 +10,13 @@ describe Projects::CreateService do } end + it 'creates services on Project creation' do + project = create_project(@user, @opts) + project.reload + + expect(project.services).not_to be_empty + end + context 'user namespace' do before do @project = create_project(@user, @opts) |