Commit cc796a1b authored by Douwe Maan's avatar Douwe Maan

Fix volatile spec.

parent 568fe1e2
......@@ -22,7 +22,7 @@ describe AutocompleteController do
it { expect(body).to be_kind_of(Array) }
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
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