diff options
author | Felipe Artur <felipefac@gmail.com> | 2017-09-15 11:55:57 -0300 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2017-09-15 14:45:21 -0300 |
commit | b20595b2bd0023ebbc2ec46017f5d1cb1533fb4f (patch) | |
tree | 03157749ac0c980ab84d3ca9f659f36a01d55bfb /spec/services/projects/update_service_spec.rb | |
parent | 056c42cca5aa21fb2ebc9e5fc2cbedf18cf8dbbc (diff) | |
download | gitlab-ce-b20595b2bd0023ebbc2ec46017f5d1cb1533fb4f.tar.gz |
Add data migration
Diffstat (limited to 'spec/services/projects/update_service_spec.rb')
-rw-r--r-- | spec/services/projects/update_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/projects/update_service_spec.rb b/spec/services/projects/update_service_spec.rb index 371b0abf937..c551083ac90 100644 --- a/spec/services/projects/update_service_spec.rb +++ b/spec/services/projects/update_service_spec.rb @@ -163,7 +163,7 @@ describe Projects::UpdateService, '#execute' do result = update_project(project, admin, path: 'existing') expect(result).to include(status: :error) - expect(result[:message]).to match('Project could not be updated!') + expect(result[:message]).to match('There is already a repository with that name on disk') expect(project).not_to be_valid expect(project.errors.messages).to have_key(:base) expect(project.errors.messages[:base]).to include('There is already a repository with that name on disk') |