Sha256: 75b165dcffe7fb8649abb1d5bb3f9a8a035d363b1da7262968305c8227e583ca
Contents?: true
Size: 971 Bytes
Versions: 7
Compression:
Stored size: 971 Bytes
Contents
ENV['RAILS_ENV'] = ENV['RACK_ENV'] = 'test' $:.unshift("#{File.dirname(__FILE__)}/..") require File.expand_path('dummy/config/environment', File.dirname(__FILE__)) require 'test/unit' require 'sass' require 'lib/bootstrap-sass/compass_functions' require 'lib/bootstrap-sass/sass_functions' require 'rails/test_help' Dir[File.expand_path("./support/**/*.rb", File.dirname(__FILE__))].each { |f| require f } #= Capybara + Poltergeist require 'capybara/rails' require 'capybara/poltergeist' Capybara.configure do |config| config.app_host = 'http://localhost:7000' config.default_driver = :poltergeist config.javascript_driver = :poltergeist config.server_port = 7000 config.default_wait_time = 10 end Capybara.register_driver :poltergeist do |app| Capybara::Poltergeist::Driver.new( app, # inspector: '/Applications/Chromium.app/Contents/MacOS/Chromium', # open in inspector: page.driver.debug window_size: [1280, 1024] ) end
Version data entries
7 entries across 7 versions & 1 rubygems