Sha256: da09fcf482e4c74aba4d22e99a0ecc178c522e4c5e59b6c00b6f49b95bb852ea

Contents?: true

Size: 501 Bytes

Versions: 3

Compression:

Stored size: 501 Bytes

Contents

require 'palimpsest'

require 'coveralls'
require 'simplecov'

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
  SimpleCov::Formatter::HTMLFormatter,
  Coveralls::SimpleCov::Formatter
]

SimpleCov.start

RSpec.configure do |c|
  c.expect_with(:rspec) { |e| e.syntax = :expect }

  c.after :suite do
    Dir.glob("#{Palimpsest::Environment.new.options[:tmp_dir]}/#{Palimpsest::Environment.new.options[:dir_prefix]}*").each do |dir|
      FileUtils.remove_entry_secure dir
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
palimpsest-0.2.0 spec/spec_helper.rb
palimpsest-0.1.1 spec/spec_helper.rb
palimpsest-0.1.0 spec/spec_helper.rb