diff options
author | Douwe Maan <douwe@gitlab.com> | 2016-01-19 20:30:59 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2016-01-19 20:30:59 +0300 |
commit | 4f44455626a567c939bf6f84684e8879ce2db829 (patch) | |
tree | ead6521f29b5d0f2e194a2aaea7becb3007fcbb0 /spec | |
parent | 98e1a5b63424b6912de98ee5055d3f9e57e63899 (diff) | |
parent | c8d66514efcf946f847cb3120b271d8f0f0327f2 (diff) |
Merge branch 'master' into user-ldap-email
# Conflicts:
# db/schema.rb
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 |