features/support/env.rb in librarian-0.0.20 vs features/support/env.rb in librarian-0.0.21
- old
+ new
@@ -1,5 +1,9 @@
require 'aruba/cucumber'
Before do
- @aruba_timeout_seconds = 2
+ slow_boot = false
+ slow_boot ||= RUBY_PLATFORM == "java"
+ slow_boot ||= defined?(::Rubinius)
+
+ @aruba_timeout_seconds = slow_boot ? 5 : 2
end