summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Jankovski <maxlazio@gmail.com>2015-01-12 11:49:07 +0100
committerMarin Jankovski <maxlazio@gmail.com>2015-01-12 11:49:07 +0100
commitef0cf7b42dbdd7a017450ada45881134524e4997 (patch)
treec3f97ac517b4b4ce71e959a7b6e851a00652fbed
parent8689ce1efef8438debeec2a3a6d669f4d5a435c4 (diff)
downloadgitlab-ce-ef0cf7b42dbdd7a017450ada45881134524e4997.tar.gz
Fix the api project ordering 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