diff options
author | Stan Hu <stanhu@gmail.com> | 2015-08-20 21:33:00 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2015-08-21 13:47:56 -0700 |
commit | 3715a0f29b6758b3075abb6f28ee24c4eb8ed427 (patch) | |
tree | 96675d33d770fd308c535a11bde4dad40cefadb0 /spec/controllers/autocomplete_controller_spec.rb | |
parent | 55fc58bda4a5592f2f8deaecec9526fbe4eecd6f (diff) | |
download | gitlab-ce-3715a0f29b6758b3075abb6f28ee24c4eb8ed427.tar.gz |
Fix bug preventing invite by e-mail
This was broken in 70f5291808 as a result of introducing the ability to filter by current user.
Closes #2320
Diffstat (limited to 'spec/controllers/autocomplete_controller_spec.rb')
-rw-r--r-- | spec/controllers/autocomplete_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/autocomplete_controller_spec.rb b/spec/controllers/autocomplete_controller_spec.rb index 3521d690259..aa8d6cb807f 100644 --- a/spec/controllers/autocomplete_controller_spec.rb +++ b/spec/controllers/autocomplete_controller_spec.rb @@ -74,7 +74,7 @@ describe AutocompleteController do describe 'GET #users with project ID' do before do - get(:users, project_id: project.id) + get(:users, project_id: project.id, current_user: true) end it { expect(body).to be_kind_of(Array) } |