diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-09-24 16:25:40 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-09-24 16:25:40 +0200 |
commit | 297f969babcd509b95b08e6531e09e4a75018d8c (patch) | |
tree | e0e310587dd0e794215c485018cbe722e922ca22 /spec/requests | |
parent | 7545190c8ae82f29f8667bf6a04a4e411bce469f (diff) | |
download | gitlab-ce-297f969babcd509b95b08e6531e09e4a75018d8c.tar.gz |
Fix specs
Diffstat (limited to 'spec/requests')
-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 3007a15b0b1..580bbec77d1 100644 --- a/spec/requests/api/projects_spec.rb +++ b/spec/requests/api/projects_spec.rb @@ -89,7 +89,7 @@ describe API::API, api: true do it 'returns projects in the correct order when ci_enabled_first parameter is passed' do [project, project2, project3].each{ |project| project.build_missing_services } - project2.gitlab_ci_service.update(active: true, token: "token") + project2.gitlab_ci_service.update(active: true) get api('/projects', user), { ci_enabled_first: 'true' } expect(response.status).to eq(200) expect(json_response).to be_an Array |