Skip to content

Commit

Permalink
adds more specific examples
Browse files Browse the repository at this point in the history
  • Loading branch information
dplumlee committed May 30, 2024
1 parent 4a2b9df commit 48f1a42
Showing 1 changed file with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -837,9 +837,9 @@ Then the merged output should be the current verison of <field>
And there should be no conflict
Examples:
| field |
| name |
| risk_score|
| field | base_version | current_version | target_version |
| name | "A" | "A" | "A" |
| risk_score | 1 | 1 | 1 |
```

#### **Scenario: Rule field doesn't have an update but has a custom value**
Expand All @@ -856,9 +856,9 @@ Then the merged output should be the current verison of <field>
And there should be no conflict
Examples:
| field |
| name |
| risk_score|
| field | base_version | current_version | target_version |
| name | "A" | "B" | "A" |
| risk_score | 1 | 2 | 1 |
```

#### **Scenario: Rule field has an update and doesn't have a custom value**
Expand All @@ -875,9 +875,9 @@ Then the merged output should be the target verison of <field>
And there should be no conflict
Examples:
| field |
| name |
| risk_score|
| field | base_version | current_version | target_version |
| name | "A" | "A" | "B" |
| risk_score | 1 | 1 | 2 |
```

#### **Scenario: Rule field has an update and a custom value that are the same**
Expand All @@ -897,9 +897,9 @@ And there should be no conflict
CASE: should work the same if rule does not have an existing base version
Examples:
| field |
| name |
| risk_score|
| field | base_version | current_version | target_version |
| name | "A" | "B" | "B" |
| risk_score | 1 | 2 | 2 |
```

#### **Scenario: Rule field has an update and a custom value that are NOT the same**
Expand All @@ -919,9 +919,9 @@ And there should be a conflict
CASE: should return target version if rule does not have an existing base version
Examples:
| field |
| name |
| risk_score|
| field | base_version | current_version | target_version |
| name | "A" | "B" | "C" |
| risk_score | 1 | 2 | 3 |
```

### Rule upgrade workflow: viewing rule changes in JSON diff view
Expand Down

0 comments on commit 48f1a42

Please sign in to comment.