Sha256: 954384455c90f47a3e9d267736f588490ba767c688e7de000e22a7ce32248139

Contents?: true

Size: 296 Bytes

Versions: 3

Compression:

Stored size: 296 Bytes

Contents

$:.push(File.expand_path(File.dirname(__FILE__)))
$:.push(File.expand_path(File.dirname(__FILE__)) + '/../lib')

require 'failsafe'

class MockFailureBackend < Failsafe::Backends::Base
end

RSpec.configure do |config|
  config.mock_with :mocha
  config.after { Failsafe.error_backends.clear }
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
failsafe-0.2.1 spec/spec_helper.rb
failsafe-0.2.0 spec/spec_helper.rb
failsafe-0.1.0 spec/spec_helper.rb