Commit 0b2b4c78 authored by James Lopez's avatar James Lopez

Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ee into feature/improve-weight-filter

parents 2a37a929 8de3358b
...@@ -22,7 +22,7 @@ describe AutocompleteController do ...@@ -22,7 +22,7 @@ describe AutocompleteController do
it { expect(body).to be_kind_of(Array) } it { expect(body).to be_kind_of(Array) }
it { expect(body.size).to eq 2 } it { expect(body.size).to eq 2 }
it { expect(body.first["username"]).to eq user.username } it { expect(body.map { |u| u["username"] }).to include(user.username) }
end end
describe 'GET #users with unknown project' do describe 'GET #users with unknown project' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment