diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-01-19 13:24:42 -0200 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-01-19 13:24:42 -0200 |
commit | 2ece1b774aac36f4a92801c665355e7fe1c4d48f (patch) | |
tree | d9397aad0e250f489ba30e8591ec7e9fa5743388 /spec | |
parent | f6e14431a0676708590ddb7cb7567e1f7e97c244 (diff) | |
download | gitlab-ce-2ece1b774aac36f4a92801c665355e7fe1c4d48f.tar.gz |
Fix creator should be added as a master of the project on creation
Diffstat (limited to 'spec')
-rw-r--r-- | spec/services/projects/create_service_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/services/projects/create_service_spec.rb b/spec/services/projects/create_service_spec.rb index 5d0b18558b1..e43903dbd3c 100644 --- a/spec/services/projects/create_service_spec.rb +++ b/spec/services/projects/create_service_spec.rb @@ -32,6 +32,7 @@ describe Projects::CreateService, services: true do it { expect(@project).to be_valid } it { expect(@project.owner).to eq(@user) } + it { expect(@project.team.masters).to include(@user) } it { expect(@project.namespace).to eq(@user.namespace) } end |