Permalink
Browse files

Cannot quite test the failing scenarios with Test::Cuke it self. Spli…

…t those tests to another place.
  • Loading branch information...
gugod committed Dec 12, 2010
1 parent 03ddcf4 commit 68c5af3affa242f5cda197d22619fccb5025e505
Showing with 0 additions and 19 deletions.
  1. +0 −19 t/runtest.t
View
@@ -13,11 +13,6 @@ Feature: foo
When it is my birthday
Then we will eat 28 cakes
- Scenario: Failed assertion leads to skipping remaining steps
- Given anything
- When I fail this step
- Then I skip this one
-
FEATURE_TEXT
my @passed;
@@ -53,18 +48,4 @@ Then qr/we will eat (\d+) (.+)/ => sub {
. " correctly passed to the step functions";
};
-
-Given qr/anything/ => sub {
- assert "Anything is ok";
- ok 1, "passed Given";
-};
-
-When qr/fail/ => sub {
- assert 0 == 1;
-};
-
-Then qr/skip/ => sub {
- ok 0, "This shoudln't be executed at all!";
-};
-
runtests;

0 comments on commit 68c5af3

Please sign in to comment.