Sha256: fae318c0997b460c46ebc3ba9dfe5484b58c2fdb469aa8fddb77e2a8f3039367

Contents?: true

Size: 507 Bytes

Versions: 3

Compression:

Stored size: 507 Bytes

Contents

ENV['RACK_ENV'] = 'test'

if ENV['CI']
  require 'coveralls'
  Coveralls.wear!
end

require 'bundler'
begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end

require 'sinatra'
Sinatra::Base.set :environment, :test

require 'lumber'
require "lumber/server"
include Lumber

require 'capybara/rspec'
require 'capybara/poltergeist'
Capybara.javascript_driver = :poltergeist

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lumber-1.0.3 spec/spec_helper.rb
lumber-1.0.2 spec/spec_helper.rb
lumber-1.0.1 spec/spec_helper.rb