Sha256: cc0bb0c1ae39ece329e6d5552612f5a4e5fdf9c1517e339db0055fd7ced0a92e

Contents?: true

Size: 549 Bytes

Versions: 8

Compression:

Stored size: 549 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

8 entries across 8 versions & 2 rubygems

Version Path
rspec-core-3.0.4 lib/rspec/core/mocking_adapters/flexmock.rb
rspec-core-3.0.3 lib/rspec/core/mocking_adapters/flexmock.rb
rspec-core-3.0.2 lib/rspec/core/mocking_adapters/flexmock.rb
whos_dated_who-0.1.0 vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/mocking_adapters/flexmock.rb
whos_dated_who-0.0.1 vendor/bundle/gems/rspec-core-3.0.1/lib/rspec/core/mocking_adapters/flexmock.rb
rspec-core-3.0.1 lib/rspec/core/mocking_adapters/flexmock.rb
rspec-core-3.0.0 lib/rspec/core/mocking_adapters/flexmock.rb
rspec-core-3.0.0.rc1 lib/rspec/core/mocking_adapters/flexmock.rb