Sha256: 804c949673d3a9822b580f763ea4e408ab754a9849d8ca3cc252dc4fad6f5e69
Contents?: true
Size: 590 Bytes
Versions: 1
Compression:
Stored size: 590 Bytes
Contents
require 'wonderdog' require 'wukong/spec_helpers' RSpec.configure do |config| config.before(:each) do Wukong::Log.level = Log4r::OFF @orig_reg = Wukong.registry.show end config.after(:each) do Wukong.registry.clear! Wukong.registry.merge!(@orig_reg) end include Wukong::SpecHelpers def root @root ||= Pathname.new(File.expand_path('../..', __FILE__)) end def hadoop_runner *args, &block runner(Wukong::Hadoop::HadoopRunner, 'wu-hadoop', *args) do stub(:execute_command!) instance_eval(&block) if block_given? end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wonderdog-0.2.0 | spec/spec_helper.rb |