Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2015-08-21 07:33:00 +0300
committerStan Hu <stanhu@gmail.com>2015-08-21 23:47:56 +0300
commit3715a0f29b6758b3075abb6f28ee24c4eb8ed427 (patch)
tree96675d33d770fd308c535a11bde4dad40cefadb0 /spec
parent55fc58bda4a5592f2f8deaecec9526fbe4eecd6f (diff)
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')
-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) }