Sha256: 052017ebdadd4608f5d51f17b348153f43cb85b358877659035d3f73a4388d42

Contents?: true

Size: 394 Bytes

Versions: 6

Compression:

Stored size: 394 Bytes

Contents

if ENV['COVERAGE'] and RUBY_VERSION =~ /^1.9/
  require 'simplecov'
  require 'simplecov-rcov'

  SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter
  SimpleCov.start
end

require 'om'
require 'rspec'
require 'equivalent-xml/rspec_matchers'

RSpec.configure do |config|
  config.mock_with :mocha
end

def fixture(file)
  File.new(File.join(File.dirname(__FILE__), 'fixtures', file))
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
om-1.8.0 spec/spec_helper.rb
om-1.8.0.rc1 spec/spec_helper.rb
om-1.7.0 spec/spec_helper.rb
om-1.7.0.rc2 spec/spec_helper.rb
om-1.7.0.rc1 spec/spec_helper.rb
om-1.6.1 spec/spec_helper.rb