Sha256: dbc992cbe4ad08f620633e9f1fbcc69fbd0b5e4b746cca820edcc3badadb54b2

Contents?: true

Size: 690 Bytes

Versions: 3

Compression:

Stored size: 690 Bytes

Contents

require "bundler"

unless ENV["TRAVIS_CI"]
  if RUBY_VERSION[0] == "2"
    require "byebug"
  else
    require "debugger"
  end
end

require "simplecov"

if ENV["TRAVIS_CI"]
  require "coveralls"
  SimpleCov.formatter = Coveralls::SimpleCov::Formatter
end

SimpleCov.start do
  add_filter "/spec/"
end

if ENV["TRAVIS_CI"]
  Bundler.require
else
  Bundler.require(:default, :tools)
end

Dir[File.expand_path("../support/**/*.rb", __FILE__)].each {|f| require f }

RSpec.configure do |config|
  config.order = 'random'

  config.extend ControllerHelpers
  config.extend FailureMessageHelpers
  config.extend ModelHelpers
  config.extend WithContextsHelpers
  config.include MatchHelpers
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
warp-1.2.2 spec/spec_helper.rb
warp-1.2.1 spec/spec_helper.rb
warp-1.2.0 spec/spec_helper.rb