summaryrefslogtreecommitdiff
path: root/spec/javascripts
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-05-25 23:10:04 +0100
committerPhil Hughes <me@iamphill.com>2018-05-25 23:10:04 +0100
commit6c9027f8f6d1eced3ff067b837a1fda3961ba70d (patch)
treec4c622fcb708721fc0bf2bac8a7aa989558bc596 /spec/javascripts
parent65c16758f9ce368115f2ae12178123c4544bf2b4 (diff)
downloadgitlab-ce-6c9027f8f6d1eced3ff067b837a1fda3961ba70d.tar.gz
fixed up after bootstrap upgrade
Diffstat (limited to 'spec/javascripts')
-rw-r--r--spec/javascripts/ide/stores/modules/pipelines/mutations_spec.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/spec/javascripts/ide/stores/modules/pipelines/mutations_spec.js b/spec/javascripts/ide/stores/modules/pipelines/mutations_spec.js
index 1425f4d0b71..3e572a66acf 100644
--- a/spec/javascripts/ide/stores/modules/pipelines/mutations_spec.js
+++ b/spec/javascripts/ide/stores/modules/pipelines/mutations_spec.js
@@ -65,17 +65,19 @@ describe('IDE pipelines mutations', () => {
expect(mockedState.stages.length).toBe(2);
expect(mockedState.stages).toEqual([
{
- ...stages[0],
- dropdownPath: stages[0].dropdownPath,
id: 0,
+ dropdownPath: stages[0].dropdown_path,
+ name: stages[0].name,
+ status: stages[0].status,
isCollapsed: false,
isLoading: false,
jobs: [],
},
{
- ...stages[1],
- dropdownPath: stages[1].dropdownPath,
id: 1,
+ dropdownPath: stages[1].dropdown_path,
+ name: stages[1].name,
+ status: stages[1].status,
isCollapsed: false,
isLoading: false,
jobs: [],