diff options
author | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-05-18 19:22:02 +0300 |
---|---|---|
committer | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-05-22 23:14:13 +0300 |
commit | acd573f1e612f446d6994b891cf65d189950faff (patch) | |
tree | d7ad7e4c332afb326d3bbd5c34798ad8e9cf6f9b /spec/services/projects | |
parent | fbde5e33134df144208840f977a74f346acf450a (diff) |
minor adjustments to the specs
Diffstat (limited to 'spec/services/projects')
-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 2bddb6f3e42..b957517c715 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 new namespace for your project.' } + it { expect(project.errors.messages[:new_namespace].first).to eq 'Please select a new namespace for your project.' } end context 'disallow transfering of project with tags' do |