Sha256: 0eda13707bb94e7a85cd97db6cff2dcb8cc4b14cfd531bb49687167d6071955d

Contents?: true

Size: 536 Bytes

Versions: 4

Compression:

Stored size: 536 Bytes

Contents

require 'simplecov'
require 'timecop'
require 'tempfile'
require 'codeclimate-test-reporter'
require 'aruba/rspec'

CodeClimate::TestReporter.start

def production_code
  spec = caller[0][/spec.+\.rb/]
  './'+ spec.gsub('_spec','').gsub(/spec/, 'lib')
end

SimpleCov.start do
  add_filter '/vendor/'
  add_filter '/spec/'
  coverage_dir 'log/coverage/spec'
end

RSpec.configure do |config|
  config.include ArubaDoubles

  config.before :each do
    Aruba::RSpec.setup
  end

  config.after :each do
    Aruba::RSpec.teardown
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rake-n-bake-1.3.1 spec/spec_helper.rb
rake-n-bake-1.3.0 spec/spec_helper.rb
rake-n-bake-1.2.0 spec/spec_helper.rb
rake-n-bake-1.1.5 spec/spec_helper.rb