diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-05-02 08:46:27 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-05-02 08:47:42 +0300 |
commit | 4f5aae1d26ac66f8baf0574a2e457597a3e7cc33 (patch) | |
tree | d2fbbb89465acfdceb691719c302cec25b93fd94 | |
parent | 9c1abeb50ab88d6f591fb77db89eba9fe2435e2d (diff) | |
download | gitlab-ce-4f5aae1d26ac66f8baf0574a2e457597a3e7cc33.tar.gz |
fix test
-rw-r--r-- | spec/requests/api/projects_spec.rb | 2 |
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 |