features/docs/defining_steps/skip_scenario.feature in cucumber-2.99.0 vs features/docs/defining_steps/skip_scenario.feature in cucumber-3.0.0.pre.1
- old
+ new
@@ -26,39 +26,5 @@
1 scenario (1 skipped)
2 steps (2 skipped)
"""
-
- @spawn
- Scenario: Use (deprecated) legacy API
- Given a file named "features/test.feature" with:
- """
- Feature: test
- Scenario: test
- Given this step passes
- And this step passes
- """
- And the standard step definitions
- And a file named "features/support/hook.rb" with:
- """
- Before do |scenario|
- scenario.skip_invoke!
- end
- """
- When I run `cucumber -q`
- Then it should pass with:
- """
- Feature: test
-
- Scenario: test
- Given this step passes
- And this step passes
-
- 1 scenario (1 skipped)
- 2 steps (2 skipped)
-
- """
- And the stderr should contain:
- """
- deprecated
- """