Fix deployment entity tests
Fixes style lint errors
This commit is contained in:
parent
536b022498
commit
087680d780
3 changed files with 5 additions and 3 deletions
|
@ -123,7 +123,9 @@ export default {
|
|||
job(newVal, oldVal) {
|
||||
if (_.isEmpty(oldVal) && !_.isEmpty(newVal.pipeline)) {
|
||||
this.fetchJobsForStage(
|
||||
this.job.pipeline.details.stages.find(stage => stage && stage.name === this.selectedStage),
|
||||
this.job.pipeline.details.stages.find(
|
||||
stage => stage && stage.name === this.selectedStage,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -995,7 +995,7 @@ export default {
|
|||
},
|
||||
duration: 6,
|
||||
finished_at: '2017-06-01T17:32:00.042Z',
|
||||
stages: stages,
|
||||
stages,
|
||||
},
|
||||
ref: {
|
||||
name: 'abc',
|
||||
|
|
|
@ -107,7 +107,7 @@ describe DeploymentEntity do
|
|||
it 'only exposes deployable name and path' do
|
||||
project_job_path(project, deployment.deployable).tap do |path|
|
||||
expect(subject.fetch(:deployable))
|
||||
.to eq('name' => 'test', 'build_path' => path)
|
||||
.to eq(name: 'test', build_path: path)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue