Skip to content

Commit 64aec64

Browse files
committed
Test that the table-format equivalence Cucumber step utilizes JSON memory
1 parent 3598afc commit 64aec64

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

features/memory.feature

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,3 +182,22 @@ Feature: Memory
182182
"true": true
183183
}
184184
"""
185+
186+
Scenario: Table format
187+
When I keep the JSON at "string" as "STRING"
188+
And I keep the JSON at "integer" as "INTEGER"
189+
And I keep the JSON at "float" as "FLOAT"
190+
And I keep the JSON at "array" as "ARRAY"
191+
And I keep the JSON at "hash" as "HASH"
192+
And I keep the JSON at "true" as "TRUE"
193+
And I keep the JSON at "false" as "FALSE"
194+
And I keep the JSON at "null" as "NULL"
195+
And the JSON should have the following:
196+
| string | %{STRING} |
197+
| integer | %{INTEGER} |
198+
| float | %{FLOAT} |
199+
| array | %{ARRAY} |
200+
| hash | %{HASH} |
201+
| true | %{TRUE} |
202+
| false | %{FALSE} |
203+
| null | %{NULL} |

0 commit comments

Comments
 (0)