Sha256: 419b3a11fed27f9ca24328e0e75664a858e694b5553ca26a6b553d80fc68a316
Contents?: true
Size: 473 Bytes
Versions: 2
Compression:
Stored size: 473 Bytes
Contents
require "bacon" require "mocha-on-bacon" __LIB_PATH__ = File.join(File.dirname(__FILE__), "..") $: << __LIB_PATH__ require "pry" require "invoker" def invoker_config if Invoker.const_defined?(:CONFIG) Invoker::CONFIG else Invoker.const_set(:CONFIG, mock()) Invoker::CONFIG end end def invoker_commander if Invoker.const_defined?(:COMMANDER) Invoker::COMMANDER else Invoker.const_set(:COMMANDER, mock()) Invoker::COMMANDER end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
invoker-0.0.3 | spec/spec_helper.rb |
invoker-0.0.2 | spec/spec_helper.rb |