spec/spec_helper.rb in punchblock-0.8.0 vs spec/spec_helper.rb in punchblock-0.8.1
- old
+ new
@@ -8,9 +8,13 @@
RSpec.configure do |config|
config.mock_with :mocha
config.filter_run :focus => true
config.run_all_when_everything_filtered = true
+
+ config.before :suite do |variable|
+ Punchblock.logger = Logger.new(STDOUT)
+ end
end
def parse_stanza(xml)
Nokogiri::XML.parse xml, nil, nil, Nokogiri::XML::ParseOptions::NOBLANKS
end