diff options
author | Joachim Filip Ignacy Bartosik <jbartosik@gmail.com> | 2011-05-13 14:47:52 +0200 |
---|---|---|
committer | Joachim Filip Ignacy Bartosik <jbartosik@gmail.com> | 2011-05-24 18:55:39 +0200 |
commit | f3159803c52dde12f219349d9c6099d030ff6bde (patch) | |
tree | 96d7a067cd027dec7e6487cc1edd2c4571726024 | |
parent | Agenda model (diff) | |
download | council-webapp-f3159803c52dde12f219349d9c6099d030ff6bde.tar.gz council-webapp-f3159803c52dde12f219349d9c6099d030ff6bde.tar.bz2 council-webapp-f3159803c52dde12f219349d9c6099d030ff6bde.zip |
Breakpoint after failed cucumber step
For easier fixing
-rw-r--r-- | site/features/support/break_after_failed_step.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/site/features/support/break_after_failed_step.rb b/site/features/support/break_after_failed_step.rb new file mode 100644 index 0000000..42ef606 --- /dev/null +++ b/site/features/support/break_after_failed_step.rb @@ -0,0 +1,6 @@ +After do |scenario| + if scenario.status == :failed + breakpoint + 0 + end +end |