1
0
Fork 0
mirror of https://github.com/thoughtbot/factory_bot_rails.git synced 2022-11-09 11:49:18 -05:00

Correctly configure Aruba command timeout

This removes the misconfiguration of Aruba timeout by instance variable
This commit is contained in:
Joshua Clayton 2016-04-07 16:23:39 -04:00
parent 6b8ba60031
commit 9e0b178c6f
2 changed files with 4 additions and 2 deletions

View file

@ -1,4 +1,6 @@
language: ruby
env:
- ARUBA_TIMEOUT=240
before_install:
- gem update --system
- gem update bundler

View file

@ -2,8 +2,8 @@ require 'aruba/cucumber'
PROJECT_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..', '..')).freeze
Before do
@aruba_timeout_seconds = 3600
Aruba.configure do |config|
config.exit_timeout = Integer ENV.fetch("ARUBA_TIMEOUT") { 120 }
end
Aruba.configure do |config|