summaryrefslogtreecommitdiff
path: root/spec/controllers/autocomplete_controller_spec.rb
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2015-08-20 21:33:00 -0700
committerStan Hu <stanhu@gmail.com>2015-08-21 13:47:56 -0700
commit3715a0f29b6758b3075abb6f28ee24c4eb8ed427 (patch)
tree96675d33d770fd308c535a11bde4dad40cefadb0 /spec/controllers/autocomplete_controller_spec.rb
parent55fc58bda4a5592f2f8deaecec9526fbe4eecd6f (diff)
downloadgitlab-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.rb2
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) }