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
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-08-22 01:25:59 +0300
committerDouwe Maan <douwe@gitlab.com>2015-08-22 01:25:59 +0300
commit0daa21ed8cf3fe917645b66baa27917923bfdd8f (patch)
tree4003a69c07d0f507dc13070a20fc0048d7b9c30d /spec/controllers
parent1cfc4af31e01c59066e5194a080f49ac6cacc0a3 (diff)
parent577df6b8ca4532545ac2cad11a693dc976160b36 (diff)
Merge branch 'fix-email-autocomplete' into 'master'
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 See merge request !1181
Diffstat (limited to 'spec/controllers')
-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) }