Sha256: fd491028b47f7b2296f0ee83ebb98dbac01fae6d45e1f10d6af28e7ed22c297e

Contents?: true

Size: 670 Bytes

Versions: 10

Compression:

Stored size: 670 Bytes

Contents

require 'simplecov'
SimpleCov.start

require 'rubygems'
require 'bundler/setup'
Bundler.require :default

require 'qbxml'
RSpec.configure do |config|
  config.treat_symbols_as_metadata_keys_with_true_values = true
  config.filter_run :focus => true
  config.run_all_when_everything_filtered = true
end

SUPPORT_DIR  = "#{File.dirname(__FILE__)}/support" unless defined? SUPPORT_DIR
REQUEST_DIR  = "#{SUPPORT_DIR}/requests" unless defined? REQUEST_DIR
RESPONSE_DIR = "#{SUPPORT_DIR}/responses" unless defined? RESPONSE_DIR

def requests
  Dir["#{REQUEST_DIR}/*.xml"].map { |f| File.read(f) }
end

def responses
  Dir["#{RESPONSE_DIR}/*.xml"].map { |f| File.read(f) }
end

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
mrglass-qbxml-1.0.0 spec/spec_helper.rb
qbxml-0.4.0 spec/spec_helper.rb
qbxml-0.3.0 spec/spec_helper.rb
qbxml-0.2.0 spec/spec_helper.rb
qbxml-0.1.6 spec/spec_helper.rb
qbxml-dtd6-1.0.3 spec/spec_helper.rb
qbxml-dtd6-1.0.2 spec/spec_helper.rb
qbxml-0.1.5 spec/spec_helper.rb
qbxml-0.1.4 spec/spec_helper.rb
qbxml-0.1.3 spec/spec_helper.rb