Sha256: 46fc3f8b1a17afab407a993eb36de2aaa01f4829d5d9f81ff0b061755867328f

Contents?: true

Size: 452 Bytes

Versions: 30

Compression:

Stored size: 452 Bytes

Contents

require File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "lib", "spec", "mocks"))

module Spec
  module Plugins
    module MockFramework
      include Spec::Mocks::ExampleMethods
      def setup_mocks_for_rspec
        $rspec_mocks ||= Spec::Mocks::Space.new
      end
      def verify_mocks_for_rspec
        $rspec_mocks.verify_all
      end
      def teardown_mocks_for_rspec
        $rspec_mocks.reset_all
      end
    end
  end
end

Version data entries

30 entries across 30 versions & 5 rubygems

Version Path
picolena-0.0.99 app_generators/picolena/templates/vendor/plugins/rspec/plugins/mock_frameworks/rspec.rb
picolena-0.1.0 rails_plugins/rspec/plugins/mock_frameworks/rspec.rb
picolena-0.1.1 rails_plugins/rspec/plugins/mock_frameworks/rspec.rb
picolena-0.1.2 rails_plugins/rspec/plugins/mock_frameworks/rspec.rb
picolena-0.1.4 rails_plugins/rspec/plugins/mock_frameworks/rspec.rb
picolena-0.1.3 rails_plugins/rspec/plugins/mock_frameworks/rspec.rb
picolena-0.1.6 rails_plugins/rspec/plugins/mock_frameworks/rspec.rb
picolena-0.1.5 rails_plugins/rspec/plugins/mock_frameworks/rspec.rb
picolena-0.1.7 rails_plugins/rspec/plugins/mock_frameworks/rspec.rb
picolena-0.1.8 rails_plugins/rspec/plugins/mock_frameworks/rspec.rb
radiant-0.6.5.1 vendor/plugins/rspec/plugins/mock_frameworks/rspec.rb
radiant-0.6.5 vendor/plugins/rspec/plugins/mock_frameworks/rspec.rb
radiant-0.6.6 vendor/plugins/rspec/plugins/mock_frameworks/rspec.rb
radiant-0.6.7 vendor/plugins/rspec/plugins/mock_frameworks/rspec.rb
radiant-0.6.8 vendor/plugins/rspec/plugins/mock_frameworks/rspec.rb
radiant-0.6.9 vendor/plugins/rspec/plugins/mock_frameworks/rspec.rb
rspec-1.1.1 plugins/mock_frameworks/rspec.rb
rspec-1.1.0 plugins/mock_frameworks/rspec.rb
rspec-1.1.3 plugins/mock_frameworks/rspec.rb
rspec-1.1.2 plugins/mock_frameworks/rspec.rb