diff options
Diffstat (limited to 'spec/javascripts/pipelines/pipelines_table_spec.js')
-rw-r--r-- | spec/javascripts/pipelines/pipelines_table_spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/javascripts/pipelines/pipelines_table_spec.js b/spec/javascripts/pipelines/pipelines_table_spec.js index ca2f9163313..3e2dfce8e17 100644 --- a/spec/javascripts/pipelines/pipelines_table_spec.js +++ b/spec/javascripts/pipelines/pipelines_table_spec.js @@ -12,8 +12,8 @@ describe('Pipelines Table', () => { beforeEach(() => { PipelinesTableComponent = Vue.extend(pipelinesTableComp); - const pipelines = getJSONFixture(jsonFixtureName).pipelines; - pipeline = pipelines.find(p => p.id === 1); + const pipelines = getJSONFixture(jsonFixtureName).pipelines; // ordered by id, descending + pipeline = pipelines[2]; }); describe('table', () => { |