Sha256: bde8ffcc08719fbf648d71bcc1cc7d922efb6cefc5595c77e5a1a36874e315a8

Contents?: true

Size: 602 Bytes

Versions: 2

Compression:

Stored size: 602 Bytes

Contents

require 'rubygems'
require 'bundler'
require 'simplecov'

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 'rspec'
require 'fakefs/spec_helpers'

RSpec.configure do |config|

  config.expect_with :rspec do |c|
    c.syntax = :expect
  end

  config.before :suite do
    ENV.delete_if{ |k,v| k.match /\ASCIDE_/ }
  end

  config.after :each do
    ENV.delete_if{ |k,v| k.match /\ASCIDE_/ }
  end
end

# test coverage
SimpleCov.start

require 'scide'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
scide-0.1.1 spec/helper.rb
scide-0.1.0 spec/helper.rb