diff options
author | Marin Jankovski <maxlazio@gmail.com> | 2015-01-12 13:49:07 +0300 |
---|---|---|
committer | Marin Jankovski <maxlazio@gmail.com> | 2015-01-12 13:49:07 +0300 |
commit | ef0cf7b42dbdd7a017450ada45881134524e4997 (patch) | |
tree | c3f97ac517b4b4ce71e959a7b6e851a00652fbed /spec | |
parent | 8689ce1efef8438debeec2a3a6d669f4d5a435c4 (diff) |
Fix the api project ordering spec.
Diffstat (limited to 'spec')
-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 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 |