spec/spec_helper.rb in punchblock-1.9.2 vs spec/spec_helper.rb in punchblock-1.9.3

- old
+ new

@@ -16,10 +16,10 @@ Punchblock.logger = Logger.new(STDOUT) Punchblock.logger.define_singleton_method :trace, Punchblock.logger.method(:debug) end config.after :each do - Celluloid.shutdown + Object.const_defined?(:Celluloid) && Celluloid.shutdown end end def parse_stanza(xml) Nokogiri::XML.parse xml, nil, nil, Nokogiri::XML::ParseOptions::NOBLANKS