Sha256: 6c4e339b4dbdaa973b1a40dee70a180d6f181a673dbee05bdfdb12cd6b2c60f1

Contents?: true

Size: 606 Bytes

Versions: 3

Compression:

Stored size: 606 Bytes

Contents

require "simplecov"
SimpleCov.start

require "savon"
require "savon/mock/spec_helper"

require "./lib/rconomic"

RSpec.configure do |config|
  config.include Savon::SpecHelper

  config.before :each do
    # Ensure we don't actually send requests over the network
    expect(HTTPI).to receive(:get).never
    expect(HTTPI).to receive(:post).never
    savon.mock!
  end

  config.after :each do
    savon.unmock!
  end
end

# Requires supporting ruby files with custom matchers and macros, etc, in
# spec/support/ and its subdirectories.
Dir[File.expand_path("spec/support/**/*.rb")].each { |f| require f }

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rconomic-0.7.0 spec/spec_helper.rb
rconomic-0.6.1 spec/spec_helper.rb
rconomic-0.6.0 spec/spec_helper.rb