diff options
author | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-05-16 19:41:50 +0300 |
---|---|---|
committer | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-05-22 20:55:01 +0300 |
commit | fbde5e33134df144208840f977a74f346acf450a (patch) | |
tree | 7759498243e66c878cc4f8a8c15cb1f93ccc3300 /spec/services/projects/transfer_service_spec.rb | |
parent | 42604d4c33e6098ba696d464c9a7b3d16656bf54 (diff) |
Renamed some messages and refactored the project_edit class to a function
Diffstat (limited to 'spec/services/projects/transfer_service_spec.rb')
-rw-r--r-- | spec/services/projects/transfer_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/projects/transfer_service_spec.rb b/spec/services/projects/transfer_service_spec.rb index 5c872047bdf..2bddb6f3e42 100644 --- a/spec/services/projects/transfer_service_spec.rb +++ b/spec/services/projects/transfer_service_spec.rb @@ -26,7 +26,7 @@ describe Projects::TransferService, services: true do it { expect(@result).to eq false } it { expect(project.namespace).to eq(user.namespace) } - it { expect(project.errors.messages[:new_namespace][0]).to eq 'Please select a namespace to transfer the project to' } + it { expect(project.errors.messages[:new_namespace][0]).to eq 'Please select a new namespace for your project.' } end context 'disallow transfering of project with tags' do |