summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-05-02 08:46:27 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-05-02 08:47:42 +0300
commit4f5aae1d26ac66f8baf0574a2e457597a3e7cc33 (patch)
treed2fbbb89465acfdceb691719c302cec25b93fd94
parent9c1abeb50ab88d6f591fb77db89eba9fe2435e2d (diff)
downloadgitlab-ce-4f5aae1d26ac66f8baf0574a2e457597a3e7cc33.tar.gz
fix test
-rw-r--r--spec/requests/api/projects_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/api/projects_spec.rb b/spec/requests/api/projects_spec.rb
index 0cf457786ef..1a93148139e 100644
--- a/spec/requests/api/projects_spec.rb
+++ b/spec/requests/api/projects_spec.rb
@@ -249,7 +249,7 @@ describe Gitlab::API do
response.status.should == 200
json_response.should be_an Array
json_response.count.should == 2
- json_response.last['email'].should == user.email
+ json_response.map { |u| u['email'] }.should include user.email
end
it "finds team members with query string" do