summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
blob: ccd305b7be47276320d1c32cfec5977d4d3017bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require 'puppetlabs_spec_helper/module_spec_helper'
require 'support/filesystem_helpers'
require 'support/fixture_helpers'

# SimpleCov does not run on Ruby 1.8.7
unless RUBY_VERSION.to_f < 1.9
  require 'simplecov'
  SimpleCov.start do
    add_filter '/spec/'
  end
end

RSpec.configure do |c|
  c.include FilesystemHelpers
  c.include FixtureHelpers
end