Sha256: f302122073466ed54ee28ff8cb1b79ec98a228a70351cc8fc1d4f80f407dfdcc

Contents?: true

Size: 603 Bytes

Versions: 1

Compression:

Stored size: 603 Bytes

Contents

require 'rubygems'
require 'bundler/setup'

root = File.expand_path('../../..', __FILE__)
$LOAD_PATH.unshift(root + '/vendor/capybara/2.0/xpath/lib')
$LOAD_PATH.unshift(root + '/vendor/capybara/2.0/lib')

require root + '/vendor/capybara/2.0/spec/spec_helper'
require root + '/lib/terminus'

Terminus.debug = ENV.has_key?('DEBUG')
Terminus.sockets = false if ENV.has_key?('NOSOCKET')

case ENV['USER_AGENT']
  when 'auto'      then Terminus.start_browser
  when 'PhantomJS' then Terminus.start_phantomjs
  when 'Firefox'   then Terminus.sockets = false
end

at_exit { Terminus.browser.return_to_dock }

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
terminus-0.5.0 spec/2.0/spec_helper.rb