Commit 4f5aae1d26ac66f8baf0574a2e457597a3e7cc33
1 parent
9c1abeb5
Exists in
master
and in
4 other branches
fix test
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
spec/requests/api/projects_spec.rb
... | ... | @@ -249,7 +249,7 @@ describe Gitlab::API do |
249 | 249 | response.status.should == 200 |
250 | 250 | json_response.should be_an Array |
251 | 251 | json_response.count.should == 2 |
252 | - json_response.last['email'].should == user.email | |
252 | + json_response.map { |u| u['email'] }.should include user.email | |
253 | 253 | end |
254 | 254 | |
255 | 255 | it "finds team members with query string" do | ... | ... |