File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ Feature : Images
2+ As a Tester
3+ I want to see which images have changed
4+ so that I know where to test especially
5+
6+ Scenario : Diff Images
7+ Given a file named "A.yml" with:
8+ """
9+ version: "2"
10+ services:
11+ one:
12+ image: one:1
13+ two:
14+ image: two:1
15+ four:
16+ image: four:1
17+ """
18+ And a file named "B.yml" with:
19+ """
20+ version: "2"
21+ services:
22+ one:
23+ image: one:1
24+ two:
25+ image: two:2
26+ three:
27+ image: three:1
28+ """
29+ When I run `bin/compose_diff --images A.yml B.yml`
30+ Then it should pass with exactly:
31+ """
32+ | Name | Version |
33+ | - | - |
34+ | four | 1 (deleted) |
35+ | one | 1 |
36+ | three | 1 (new) |
37+ | two | 2 (1) |
38+ """
Original file line number Diff line number Diff line change 1+ require 'aruba/cucumber'
You can’t perform that action at this time.
0 commit comments