Skip to content

Commit 1fae41b

Browse files
committed
Fixes typo in Json comparison step
Signed-off-by: M. Scott Ford <[email protected]>
1 parent 9b23376 commit 1fae41b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

features/json_format.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Feature: Creating BOM using Json format
88
5 gems were written to BOM located at ./bom.json
99
"""
1010
And a file named "bom.json" should exist
11-
And the generated XML Json file "bom.json" matches "bom.json.expected"
11+
And the generated Json BOM file "bom.json" matches "bom.json.expected"
1212

1313
Scenario: Specifying the output path
1414
Given I use a fixture named "simple"
@@ -18,7 +18,7 @@ Feature: Creating BOM using Json format
1818
5 gems were written to BOM located at bom/simple.bom.json
1919
"""
2020
And a file named "bom/simple.bom.json" should exist
21-
And the generated XML Json file "bom/simple.bom.json" matches "bom.json.expected"
21+
And the generated Json BOM file "bom/simple.bom.json" matches "bom.json.expected"
2222

2323
Scenario: Verbose output
2424
Given I use a fixture named "simple"
@@ -39,5 +39,5 @@ Feature: Creating BOM using Json format
3939
I, \[\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{6} #\d+\] INFO -- : 5 gems were written to BOM located at \./bom\.json
4040
"""
4141
And a file named "bom.json" should exist
42-
And the generated XML Json file "bom.json" matches "bom.json.expected"
42+
And the generated Json BOM file "bom.json" matches "bom.json.expected"
4343

features/step_definitions/json_bom_matching.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Then('the generated XML Json file {string} matches {string}') do |generated_file, expected_file|
1+
Then('the generated Json BOM file {string} matches {string}') do |generated_file, expected_file|
22
generated_file_contents = File.read(expand_path(generated_file))
33
expected_file_contents = File.read(expand_path(expected_file))
44

0 commit comments

Comments
 (0)