Sha256: 932d1276ace0cb947f3bc8906f973bcef5af52ff29d21b6da7bbef8f046ae2c9
Contents?: true
Size: 616 Bytes
Versions: 8
Compression:
Stored size: 616 Bytes
Contents
require 'rspec' require 'afipws' require 'savon/mock/spec_helper' require 'mocha' require 'pry-byebug' Dir[File.dirname(__FILE__) + '/support/**/*.rb'].each { |f| require f } RSpec.configure do |config| config.include Savon::SpecHelper config.mock_with :mocha config.expect_with(:rspec) { |c| c.syntax = :should } config.alias_example_to :fit, focused: true config.filter_run focused: true config.run_all_when_everything_filtered = true config.before(:all) { savon.mock! } config.after(:all) { savon.unmock! } end def fixture file File.read("#{Afipws::Root}/spec/fixtures/#{file}.xml") end
Version data entries
8 entries across 8 versions & 1 rubygems