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