Sha256: 48100df42468aee9202704d8a23740bff47235caf81275233610492782e8beb6

Contents?: true

Size: 383 Bytes

Versions: 1

Compression:

Stored size: 383 Bytes

Contents

require 'pry'
require 'simplecov'
SimpleCov.coverage_dir 'log/coverage/spec'
SimpleCov.start

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

RSpec.configure do |config|
  config.default_formatter = 'doc' if config.files_to_run.one?

  config.mock_with :rspec do |mocks|
    mocks.verify_partial_doubles = true
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
milight-easybulb-1.0.0 spec/spec_helper.rb