Sha256: 9050ce47ef47d6c905157fb49625799a963a97061311cb0d84c2bd4bb2e08904

Contents?: true

Size: 450 Bytes

Versions: 1

Compression:

Stored size: 450 Bytes

Contents

require 'rubygems'
require 'rspec'
require 'timecop'
require 'fakefs/spec_helpers'
require 'pry-byebug'

require 'maid'

RSpec.configure do |config|
  config.mock_with(:rspec)
  config.include(FakeFS::SpecHelpers, :fakefs => true)
  config.raise_errors_for_deprecations!
end

RSpec::Matchers.define :have_deprecated_method do |expected|
  match do |actual|
    expect(actual).to receive(:__deprecated_run_action__).with(expected, anything)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
maid-0.10.0.pre.alpha.1 spec/spec_helper.rb