Sha256: 93ae843349c569f958362fe7a449bae33529fe8b1d2672fae92314dd2b7341b0
Contents?: true
Size: 601 Bytes
Versions: 1
Compression:
Stored size: 601 Bytes
Contents
require 'wukong-storm' require 'wukong/spec_helpers' RSpec.configure do |config| config.mock_with :rspec include Wukong::SpecHelpers config.before(:each) do Wukong::Log.level = Log4r::OFF end def root @root ||= Pathname.new(File.expand_path('../..', __FILE__)) end def storm_runner *args, &block runner(Wukong::Storm::StormRunner, 'wu-storm', *args) do stub(:execute_command) instance_eval(&block) if block_given? end end def wu_storm *args command('wu-storm', *args) end def wu_bolt *args command('wu-bolt', *args) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wukong-storm-0.2.0 | spec/spec_helper.rb |