diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-07-13 16:32:31 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-07-13 16:34:36 +0300 |
commit | 613208c360f9f091a9994be2db107a46270e5fe4 (patch) | |
tree | 2d2a085bf437c5009ae6f5e5965d070734eb6cf1 /spec/services/projects | |
parent | e691f5b81207b03f88ec73434db49ee47fa93a4e (diff) |
Recover from renaming project that has container images
Diffstat (limited to 'spec/services/projects')
-rw-r--r-- | spec/services/projects/update_service_spec.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/services/projects/update_service_spec.rb b/spec/services/projects/update_service_spec.rb index 05b18fef061..c974d470ae4 100644 --- a/spec/services/projects/update_service_spec.rb +++ b/spec/services/projects/update_service_spec.rb @@ -40,7 +40,7 @@ describe Projects::UpdateService, services: true do it 'does not update the project to public' do result = update_project(project, user, visibility_level: Gitlab::VisibilityLevel::PUBLIC) - expect(result).to eq({ status: :error, message: 'Visibility level unallowed' }) + expect(result).to eq({ status: :error, message: 'New visibility level not allowed!' }) expect(project).to be_private end @@ -92,7 +92,8 @@ describe Projects::UpdateService, services: true do it 'returns an error result when record cannot be updated' do result = update_project(project, admin, { name: 'foo&bar' }) - expect(result).to eq({ status: :error, message: 'Project could not be updated' }) + expect(result).to eq({ status: :error, + message: 'Project could not be updated!' }) end def update_project(project, user, opts) |