Sha256: 1cc6547090dba8c721aef11c9c4311d8c195a29cc367e76992676b9a3b4836f1
Contents?: true
Size: 730 Bytes
Versions: 2
Compression:
Stored size: 730 Bytes
Contents
if ENV["COVERAGE"] require 'simplecov' SimpleCov.start end require 'rspec' require 'rspec-xml' require 'wrong/adapters/rspec' Wrong.config.alias_assert :expect, :override => true $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) require 'docxtor2' if ENV["TRAVIS"] require 'coveralls' Coveralls.wear! end ['matchers', 'contexts', 'examples'].each do |dir| dir_pattern = File.join(File.dirname(__FILE__), 'docxtor2', 'support', dir, '**', '*.rb') Dir[File.expand_path(dir_pattern)].each { |f| require f } end RSpec.configure do |config| config.before(:all) do Dir.mkdir(Docxtor2::Known::Path::TMP, 0700) end config.after(:all) do FileUtils.rm_rf(Docxtor2::Known::Path::TMP) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
docxtor2-0.0.9 | spec/spec_helper.rb |
docxtor2-0.1.0 | spec/spec_helper.rb |