Sha256: 3e6cf3d86268029c1f25090d094f4a90420948a6639993d7b76f493cfc711725
Contents?: true
Size: 436 Bytes
Versions: 2
Compression:
Stored size: 436 Bytes
Contents
$LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require 'reflection' require 'spec' require 'spec/autorun' Spec::Runner.configure do |config| config.before(:each) do @global_mock_log = mock('Log') @global_mock_log.stub!(:debug) @global_mock_log.stub!(:info) @global_mock_log.stub!(:error) Reflection.stub!(:log).and_return(@global_mock_log) end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
basiszwo-reflection-0.5.1 | spec/spec_helper.rb |
reflection-0.5.0 | spec/spec_helper.rb |