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
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-09-14 14:37:18 +0300
committerValery Sizov <vsv2711@gmail.com>2015-09-14 14:37:18 +0300
commit4c53cc0ebac36560d806732ff1fefba9206c75f3 (patch)
treeb617210202a10c2913075f5c21fd3b583fdfea2c /spec/controllers
parent95037c9c559dae1d4482a2003ca2f0f778678d09 (diff)
rubocop satisfy
Diffstat (limited to 'spec/controllers')
-rw-r--r--spec/controllers/ci/projects_controller_spec.rb18
1 files changed, 9 insertions, 9 deletions
diff --git a/spec/controllers/ci/projects_controller_spec.rb b/spec/controllers/ci/projects_controller_spec.rb
index 563064b0cef..f710e2a3808 100644
--- a/spec/controllers/ci/projects_controller_spec.rb
+++ b/spec/controllers/ci/projects_controller_spec.rb
@@ -8,12 +8,12 @@ describe Ci::ProjectsController do
describe "POST #build" do
it 'should respond 200 if params is ok' do
post :build, id: @project.id,
- ref: 'master',
- before: '2aa371379db71ac89ae20843fcff3b3477cf1a1d',
- after: '1c8a9df454ef68c22c2a33cca8232bb50849e5c5',
- token: @project.token,
+ ref: 'master',
+ before: '2aa371379db71ac89ae20843fcff3b3477cf1a1d',
+ after: '1c8a9df454ef68c22c2a33cca8232bb50849e5c5',
+ token: @project.token,
ci_yaml_file: gitlab_ci_yaml,
- commits: [ { message: "Message" } ]
+ commits: [ { message: "Message" } ]
expect(response).to be_success
@@ -22,10 +22,10 @@ describe Ci::ProjectsController do
it 'should respond 400 if push about removed branch' do
post :build, id: @project.id,
- ref: 'master',
- before: '2aa371379db71ac89ae20843fcff3b3477cf1a1d',
- after: '0000000000000000000000000000000000000000',
- token: @project.token,
+ ref: 'master',
+ before: '2aa371379db71ac89ae20843fcff3b3477cf1a1d',
+ after: '0000000000000000000000000000000000000000',
+ token: @project.token,
ci_yaml_file: gitlab_ci_yaml
expect(response).not_to be_success