aboutsummaryrefslogtreecommitdiffstats
path: root/lua/alpha/snips
diff options
context:
space:
mode:
Diffstat (limited to 'lua/alpha/snips')
-rw-r--r--lua/alpha/snips/ft/cucumber.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/lua/alpha/snips/ft/cucumber.lua b/lua/alpha/snips/ft/cucumber.lua
index cb74586..6176a87 100644
--- a/lua/alpha/snips/ft/cucumber.lua
+++ b/lua/alpha/snips/ft/cucumber.lua
@@ -9,6 +9,13 @@ local M = {
all = t [[And all stubs should be matched]],
status_code = fmt([[Then the response status code should be {}]], { i(1, "200") }),
no_error = t [[And the JSON path expression errors should not have result]],
+ json_data = fmt([[And the JSON path expression "data" should be equal to:
+"""
+{{
+ {}
+}}
+"""
+ ]], {i(1)}),
feature = fmt(
[[Feature: {}