Sha256: cd876422c1a66ed9621c206e37259cd87e87c92dd2a0639f08dfc12e5258bcfd

Contents?: true

Size: 551 Bytes

Versions: 1

Compression:

Stored size: 551 Bytes

Contents

require 'blather'
require 'countdownlatch'
require 'sucker_punch/testing/inline'

Dir[File.dirname(__FILE__) + "/support/**/*.rb"].each {|f| require f}

RSpec.configure do |config|
  config.mock_with :mocha
  config.filter_run :focus => true
  config.run_all_when_everything_filtered = true

  config.before(:each) do
    Blather::Stream::Parser.debug = true
    Blather.logger = Logger.new($stdout).tap { |logger| logger.level = Logger::DEBUG }
  end
end

def parse_stanza(xml)
  Nokogiri::XML.parse xml
end

def jruby?
  RUBY_PLATFORM =~ /java/
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blather-2.0.0 spec/spec_helper.rb