Sha256: 0935a24fc3b11cfc60baee45028473232222a2fd929a0bb8ee14a71065707960

Contents?: true

Size: 734 Bytes

Versions: 1

Compression:

Stored size: 734 Bytes

Contents

require 'rubygems' unless defined?(Gem)
$:.unshift File.dirname(__FILE__)
require 'uuidtools'

module Caricature
#
#  module Interception
#
#  end
#
end

require 'caricature/core_ext'   
require 'caricature/version'
require 'caricature/isolation'     
require 'caricature/clr' if defined? IRONRUBY_VERSION 
require 'caricature/bacon' if defined? Bacon
require 'caricature/rspec' if defined? Spec

# convenience method for creating an isolation. aliased as mock and stub for less surprises
def isolate(subject, recorder = Caricature::MethodCallRecorder.new, expectations = Caricature::Expectations.new)
  Caricature::Isolation.for(subject, recorder, expectations)
end
alias :mock :isolate
alias :stub :isolate

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
caricature-0.7.5 lib/caricature.rb