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:
parent
6b8ba60031
commit
9e0b178c6f
2 changed files with 4 additions and 2 deletions
|
@ -1,4 +1,6 @@
|
|||
language: ruby
|
||||
env:
|
||||
- ARUBA_TIMEOUT=240
|
||||
before_install:
|
||||
- gem update --system
|
||||
- gem update bundler
|
||||
|
|
|
@ -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|
|
||||
|
|
Loading…
Reference in a new issue