Sha256: 932c9facc97481ff883fdacc51e13142efc5e6b11f68977bce3789dc599e6779

Contents?: true

Size: 508 Bytes

Versions: 171

Compression:

Stored size: 508 Bytes

Contents

#!/usr/bin/env ruby
#
#  Created by Jim Weirich on 2007-04-10.
#  Copyright (c) 2007. All rights reserved.

require 'flexmock/rspec'

module RSpec
  module Core
    module MockFrameworkAdapter
      
      def self.framework_name; :flexmock end

      include FlexMock::MockContainer
      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

Version data entries

171 entries across 116 versions & 19 rubygems

Version Path
rspec-core-2.7.1 lib/rspec/core/mocking/with_flexmock.rb
rspec-core-2.7.0 lib/rspec/core/mocking/with_flexmock.rb
rspec-core-2.7.0.rc1 lib/rspec/core/mocking/with_flexmock.rb
rspec-core-2.6.4 lib/rspec/core/mocking/with_flexmock.rb
rspec-core-2.6.3 lib/rspec/core/mocking/with_flexmock.rb
rspec-core-2.6.3.beta1 lib/rspec/core/mocking/with_flexmock.rb
rspec-core-2.6.2.rc lib/rspec/core/mocking/with_flexmock.rb
rspec-core-2.6.0 lib/rspec/core/mocking/with_flexmock.rb
rspec-core-2.6.0.rc6 lib/rspec/core/mocking/with_flexmock.rb
rspec-core-2.6.0.rc4 lib/rspec/core/mocking/with_flexmock.rb
rspec-core-2.6.0.rc2 lib/rspec/core/mocking/with_flexmock.rb