Sha256: 93341b0221eb0462d9adee6fbb195fb94042f119c9c08bdd1f378af94f13805b
Contents?: true
Size: 646 Bytes
Versions: 31
Compression:
Stored size: 646 Bytes
Contents
$LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require 'mousetrap' require 'spec' require 'spec/autorun' require 'factory_girl' require 'active_support' # Requires supporting files with custom matchers and macros, etc, # in ./support/ and its subdirectories. Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f} module Mousetrap class Resource def self.get(*args) raise 'You must stub this, or should_receive at a higher level.' end def self.post(*args) raise 'You must stub this, or should_receive at a higher level.' end end end
Version data entries
31 entries across 31 versions & 7 rubygems