summaryrefslogtreecommitdiff
path: root/spec/requests
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-09-24 16:25:40 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2015-09-24 16:25:40 +0200
commit297f969babcd509b95b08e6531e09e4a75018d8c (patch)
treee0e310587dd0e794215c485018cbe722e922ca22 /spec/requests
parent7545190c8ae82f29f8667bf6a04a4e411bce469f (diff)
downloadgitlab-ce-297f969babcd509b95b08e6531e09e4a75018d8c.tar.gz
Fix specs
Diffstat (limited to 'spec/requests')
-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 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