aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoachim Filip Ignacy Bartosik <jbartosik@gmail.com>2011-05-13 14:47:52 +0200
committerJoachim Filip Ignacy Bartosik <jbartosik@gmail.com>2011-05-24 18:55:39 +0200
commitf3159803c52dde12f219349d9c6099d030ff6bde (patch)
tree96d7a067cd027dec7e6487cc1edd2c4571726024
parentAgenda model (diff)
downloadcouncil-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.rb6
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