Security update for permissions_by_term
[yaffs-website] / vendor / behat / gherkin / tests / Behat / Gherkin / Fixtures / etalons / addition.yml
diff --git a/vendor/behat/gherkin/tests/Behat/Gherkin/Fixtures/etalons/addition.yml b/vendor/behat/gherkin/tests/Behat/Gherkin/Fixtures/etalons/addition.yml
new file mode 100644 (file)
index 0000000..7627fe6
--- /dev/null
@@ -0,0 +1,29 @@
+feature:
+  title:        Addition
+  language:     en
+  line:         2
+  description:  |-
+    In order to avoid silly mistakes
+    As a math idiot
+    I want to be told the sum of two numbers
+
+  scenarios:
+    -
+      type:     scenario
+      title:    Add two numbers
+      line:     7
+      steps:
+        - { keyword_type: 'Given', type: 'Given',  text: 'I have entered 11 into the calculator',  line: 8 }
+        - { keyword_type: 'Given', type: 'And',    text: 'I have entered 12 into the calculator',  line: 9 }
+        - { keyword_type: 'When',  type: 'When',   text: 'I press add',                            line: 10 }
+        - { keyword_type: 'Then',  type: 'Then',   text: 'the result should be 23 on the screen',  line: 11 }
+
+    -
+      type:     scenario
+      title:    Div two numbers
+      line:     13
+      steps:
+        - { keyword_type: 'Given', type: 'Given',  text: 'I have entered 10 into the calculator',  line: 14 }
+        - { keyword_type: 'Given', type: 'And',    text: 'I have entered 2 into the calculator',   line: 15 }
+        - { keyword_type: 'When',  type: 'When',   text: 'I press div',                            line: 16 }
+        - { keyword_type: 'Then',  type: 'Then',   text: 'the result should be 5 on the screen',   line: 17 }