features/support/env.rb in busser-bash-0.1.1 vs features/support/env.rb in busser-bash-0.1.2
- old
+ new
@@ -1,12 +1,25 @@
\ No newline at end of file
+require 'aruba/cucumber'
+require 'busser/cucumber'
+
+Before do
+ @aruba_timeout_seconds = 10
+end
+
+After do |s|
+ # Tell Cucumber to quit after this scenario is done - if it failed.
+ # This is useful to inspect the 'tmp/aruba' directory before any other
+ # steps are executed and clear it out.
+ Cucumber.wants_to_quit = true if s.failed?
+end