Sha256: fd7a4319267f8db2a94a9b80c5271dfca2c394a76519a2fe6322ce9d86352961

Contents?: true

Size: 567 Bytes

Versions: 7349

Compression:

Stored size: 567 Bytes

Contents

#  Created by Jim Weirich on 2007-04-10.
#  Copyright (c) 2007. All rights reserved.

require 'flexmock/rspec'

module RSpec
  module Core
    module MockingAdapters
      # @private
      module Flexmock
        include ::FlexMock::MockContainer

        def self.framework_name
          :flexmock
        end

        def setup_mocks_for_rspec
          # No setup required.
        end

        def verify_mocks_for_rspec
          flexmock_verify
        end

        def teardown_mocks_for_rspec
          flexmock_close
        end
      end
    end
  end
end

Version data entries

7,349 entries across 7,267 versions & 127 rubygems

Version Path
scoot-0.0.4 .bundle/gems/ruby/2.2.0/gems/rspec-core-3.3.2/lib/rspec/core/mocking_adapters/flexmock.rb
rspec-core-3.3.2 lib/rspec/core/mocking_adapters/flexmock.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/rspec-core-3.3.1/lib/rspec/core/mocking_adapters/flexmock.rb
rspec-core-3.3.1 lib/rspec/core/mocking_adapters/flexmock.rb
rspec-core-3.3.0 lib/rspec/core/mocking_adapters/flexmock.rb
rspec-core-3.2.3 lib/rspec/core/mocking_adapters/flexmock.rb
rspec-core-3.2.2 lib/rspec/core/mocking_adapters/flexmock.rb
rspec-core-3.2.1 lib/rspec/core/mocking_adapters/flexmock.rb
rspec-core-3.2.0 lib/rspec/core/mocking_adapters/flexmock.rb