features/docs/defining_steps/snippets.feature in cucumber-2.0.0.rc.3 vs features/docs/defining_steps/snippets.feature in cucumber-2.0.0.rc.4
- old
+ new
@@ -11,14 +11,29 @@
Scenario: pystring
Given a pystring
\"\"\"
example with <html> entities
\"\"\"
+ When a simple when step
+ And another when step
+ Then a simple then step
"""
When I run `cucumber features/undefined_steps.feature -s`
Then the output should contain:
"""
Given(/^a pystring$/) do |string|
+ pending # Write code here that turns the phrase above into concrete actions
+ end
+
+ When(/^a simple when step$/) do
+ pending # Write code here that turns the phrase above into concrete actions
+ end
+
+ When(/^another when step$/) do
+ pending # Write code here that turns the phrase above into concrete actions
+ end
+
+ Then(/^a simple then step$/) do
pending # Write code here that turns the phrase above into concrete actions
end
"""
Scenario: Snippet for undefined step with a step table