Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Jankovski <maxlazio@gmail.com>2014-10-06 12:19:11 +0400
committerMarin Jankovski <maxlazio@gmail.com>2014-10-06 12:19:11 +0400
commit86d5a63e5eed67637e8177082d224935dd10b8f9 (patch)
treed49b1bed36f78f0c56d6205124ae40ddb7807ad0 /spec/requests/api/namespaces_spec.rb
parentff43500024f707a435cbcad43eb4d467368aabfe (diff)
Fix failing api specs.
Diffstat (limited to 'spec/requests/api/namespaces_spec.rb')
-rw-r--r--spec/requests/api/namespaces_spec.rb3
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