Merge branch 'fix-autocomplete-spec' into 'master'
Fix volatile spec. Fixes https://gitlab.com/gitlab-org/gitlab-ee/issues/312. See merge request !206
This commit is contained in:
parent
7c80998536
commit
e6195b859f
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ describe AutocompleteController do
|
|||
|
||||
it { expect(body).to be_kind_of(Array) }
|
||||
it { expect(body.size).to eq 1 }
|
||||
it { expect(body.first["username"]).to eq user.username }
|
||||
it { expect(body.map { |u| u["username"] }).to include(user.username) }
|
||||
end
|
||||
|
||||
describe 'GET #users with unknown project' do
|
||||
|
|
Loading…
Reference in a new issue