Skip to content

Commit

Permalink
tests: repair broken #purpose_to_pipelines_map test
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenHulme committed Mar 8, 2024
1 parent 1b40c38 commit 4b715ac
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions spec/models/pipeline_list_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,8 @@
library_pass: 'Purpose 3',
relationships: {
'Purpose 1' => 'Purpose 2',
'Purpose 2' => 'Purpose 3'
'Purpose 2' => 'Purpose 3',
'Purpose 4' => 'Purpose 2'
},
name: 'Pipeline A'
},
Expand Down Expand Up @@ -308,29 +309,33 @@
{
'Purpose 1' => {
'Pipeline A' => {
parent: nil,
parents: [],
child: 'Purpose 2'
}
},
'Purpose 2' => {
'Pipeline A' => {
parent: 'Purpose 1',
parents: ['Purpose 1', 'Purpose 4'],
child: 'Purpose 3'
}
},
'Purpose 3' => {
'Pipeline A' => {
parent: 'Purpose 2',
parents: ['Purpose 2'],
child: nil
},
'Pipeline B' => {
parent: nil,
parents: [],
child: 'Purpose 4'
}
},
'Purpose 4' => {
'Pipeline A' => {
parents: [],
child: 'Purpose 2'
},
'Pipeline B' => {
parent: 'Purpose 3',
parents: ['Purpose 3'],
child: nil
}
}
Expand Down

0 comments on commit 4b715ac

Please sign in to comment.