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
classiccms-0.7.5 vendor/bundle/gems/rspec-core-2.10.0/lib/rspec/core/mocking/with_flexmock.rb
classiccms-0.7.5 vendor/bundle/gems/rspec-core-2.9.0/lib/rspec/core/mocking/with_flexmock.rb
classiccms-0.7.4 vendor/bundle/gems/rspec-core-2.10.0/lib/rspec/core/mocking/with_flexmock.rb
classiccms-0.7.4 vendor/bundle/gems/rspec-core-2.9.0/lib/rspec/core/mocking/with_flexmock.rb
classiccms-0.7.3 vendor/bundle/gems/rspec-core-2.10.0/lib/rspec/core/mocking/with_flexmock.rb
classiccms-0.7.3 vendor/bundle/gems/rspec-core-2.9.0/lib/rspec/core/mocking/with_flexmock.rb
judge-2.0.5 vendor/bundle/ruby/2.1.0/gems/rspec-core-2.13.0/lib/rspec/core/mocking/with_flexmock.rb
tnargav-1.3.3 vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/mocking/with_flexmock.rb
tnargav-1.2.3 vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/mocking/with_flexmock.rb
classiccms-0.7.2 vendor/bundle/gems/rspec-core-2.10.0/lib/rspec/core/mocking/with_flexmock.rb
classiccms-0.7.2 vendor/bundle/gems/rspec-core-2.9.0/lib/rspec/core/mocking/with_flexmock.rb
classiccms-0.7.1 vendor/bundle/gems/rspec-core-2.9.0/lib/rspec/core/mocking/with_flexmock.rb
classiccms-0.7.1 vendor/bundle/gems/rspec-core-2.10.0/lib/rspec/core/mocking/with_flexmock.rb
sshp-0.0.2 vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/mocking/with_flexmock.rb
sshp-0.0.1 vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/mocking/with_flexmock.rb
classiccms-0.7.0 vendor/bundle/gems/rspec-core-2.9.0/lib/rspec/core/mocking/with_flexmock.rb
classiccms-0.7.0 vendor/bundle/gems/rspec-core-2.10.0/lib/rspec/core/mocking/with_flexmock.rb
sidekiq-statsd-0.1.1 vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/mocking/with_flexmock.rb
sidekiq-statsd-0.1.0 vendor/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/mocking/with_flexmock.rb
vagrant-actionio-0.0.9 vendor/bundle/gems/rspec-core-2.13.0/lib/rspec/core/mocking/with_flexmock.rb