Sha256: 0d4faed23f79a5a453259500dc94857a2d4a8aa8b60b57446f49ca52f6482868

Contents?: true

Size: 368 Bytes

Versions: 5

Compression:

Stored size: 368 Bytes

Contents

require 'rubygems'
require 'rspec'
require 'timecop'
require 'fakefs/spec_helpers'

require 'maid'

RSpec.configure do |c|
  c.mock_with :rspec
  c.include FakeFS::SpecHelpers, :fakefs => true
end

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
maid-0.1.4.alpha.2 spec/spec_helper.rb
maid-0.1.4.alpha.1 spec/spec_helper.rb
maid-0.1.3 spec/spec_helper.rb
maid-0.1.3.beta.2 spec/spec_helper.rb
maid-0.1.3.beta.1 spec/spec_helper.rb