1
0
Fork 0
mirror of https://github.com/middleman/middleman.git synced 2022-11-09 12:20:27 -05:00

arbua jruby support

This commit is contained in:
Thomas Reynolds 2014-04-04 10:56:47 -07:00
parent 3cb320abdf
commit f95da2a1da

View file

@ -3,10 +3,11 @@ MIDDLEMAN_BIN_PATH = File.join(MIDDLEMAN_ROOT_PATH, 'bin')
ENV['PATH'] = "#{MIDDLEMAN_BIN_PATH}#{File::PATH_SEPARATOR}#{ENV['PATH']}"
require 'aruba/cucumber'
require 'aruba/jruby'
require 'middleman-core/step_definitions/middleman_steps'
require 'middleman-core/step_definitions/builder_steps'
require 'middleman-core/step_definitions/server_steps'
Before do
@aruba_timeout_seconds = 60
@aruba_timeout_seconds = RUBY_PLATFORM == 'java' ? 120 : 60
end