spec/spec_helper.rb in punchblock-1.3.0 vs spec/spec_helper.rb in punchblock-1.4.0
- old
+ new
@@ -13,9 +13,10 @@
config.filter_run :focus => true
config.run_all_when_everything_filtered = true
config.before :suite do |variable|
Punchblock.logger = Logger.new(STDOUT)
+ Punchblock.logger.define_singleton_method :trace, Punchblock.logger.method(:debug)
end
config.after :each do
Object.const_defined?(:Celluloid) && Celluloid.shutdown
end