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
path: root/spec
diff options
context:
space:
mode:
authorMarin Jankovski <maxlazio@gmail.com>2015-01-12 13:49:07 +0300
committerMarin Jankovski <maxlazio@gmail.com>2015-01-12 13:49:07 +0300
commitef0cf7b42dbdd7a017450ada45881134524e4997 (patch)
treec3f97ac517b4b4ce71e959a7b6e851a00652fbed /spec
parent8689ce1efef8438debeec2a3a6d669f4d5a435c4 (diff)
Fix the api project ordering spec.
Diffstat (limited to 'spec')
-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 dfc96c9df21..3098b0f77f9 100644
--- a/spec/requests/api/projects_spec.rb
+++ b/spec/requests/api/projects_spec.rb
@@ -51,7 +51,7 @@ describe API::API, api: true do
get api("/projects", user), { order_by: 'id', sort: 'desc'}
response.status.should eq(200)
json_response.should be_an Array
- json_response.first['id'].should eq(3)
+ json_response.first['id'].should eq(project3.id)
end
end
end