diff options
author | Marin Jankovski <maxlazio@gmail.com> | 2014-10-06 10:19:11 +0200 |
---|---|---|
committer | Marin Jankovski <maxlazio@gmail.com> | 2014-10-06 10:19:11 +0200 |
commit | 86d5a63e5eed67637e8177082d224935dd10b8f9 (patch) | |
tree | d49b1bed36f78f0c56d6205124ae40ddb7807ad0 /spec/requests/api/namespaces_spec.rb | |
parent | ff43500024f707a435cbcad43eb4d467368aabfe (diff) | |
download | gitlab-ce-86d5a63e5eed67637e8177082d224935dd10b8f9.tar.gz |
Fix failing api specs.
Diffstat (limited to 'spec/requests/api/namespaces_spec.rb')
-rw-r--r-- | spec/requests/api/namespaces_spec.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/requests/api/namespaces_spec.rb b/spec/requests/api/namespaces_spec.rb index d9d52468b15..b8943ea0762 100644 --- a/spec/requests/api/namespaces_spec.rb +++ b/spec/requests/api/namespaces_spec.rb @@ -20,8 +20,7 @@ describe API::API, api: true do response.status.should == 200 json_response.should be_an Array - # Admin namespace + 2 group namespaces - json_response.length.should == 3 + json_response.length.should == Namespace.count end end end |