spec/spec_helper.rb in punchblock-2.0.0 vs spec/spec_helper.rb in punchblock-2.0.1

- old
+ new

@@ -23,10 +23,10 @@ Punchblock.logger = Logger.new(STDOUT) Punchblock.logger.define_singleton_method :trace, Punchblock.logger.method(:debug) end config.after :each do - if Object.const_defined?(:Celluloid) + if defined?(:Celluloid) Celluloid.shutdown Celluloid.boot end end end