Sha256: 4ccca2b00d1cec517318bd98d3cee2a6ca8133a5ea992d1d594729aa58f59c46

Contents?: true

Size: 436 Bytes

Versions: 10

Compression:

Stored size: 436 Bytes

Contents

require 'rspec/core'

# This file allows you to use all of RSpec's mocking frameworks. This
# essentially allows you to create test doubles which are used to
# stand in place of a production object during execution.

RSpec.configuration.configure_mock_framework
Domain(RSpec::Core::MockFrameworkAdapter)

Before do
  RSpec::Mocks::setup(self)
end

After do
  begin
    RSpec::Mocks::verify
  ensure
    RSpec::Mocks::teardown
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
lucid-0.3.0 lib/lucid/rspec/allow_doubles.rb
lucid-0.2.1 lib/lucid/rspec/allow_doubles.rb
lucid-0.2.0 lib/lucid/rspec/allow_doubles.rb
lucid-0.1.1 lib/lucid/rspec/allow_doubles.rb
lucid-0.1.0 lib/lucid/rspec/allow_doubles.rb
lucid-0.0.9 lib/lucid/rspec/allow_doubles.rb
lucid-0.0.8 lib/lucid/rspec/allow_doubles.rb
lucid-0.0.7 lib/lucid/rspec/allow_doubles.rb
lucid-0.0.6 lib/lucid/rspec/allow_doubles.rb
lucid-0.0.5 lib/lucid/rspec/allow_doubles.rb