Sha256: b8d63d93cc021008d57157ad1b70dcb298079ef4d7e13a7b9cf74f02814da76f
Contents?: true
Size: 595 Bytes
Versions: 3
Compression:
Stored size: 595 Bytes
Contents
require 'rspec' require 'afipws' require 'savon/mock/spec_helper' require 'mocha' 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
afipws-2.3.0 | spec/spec_helper.rb |
afipws-2.2.0 | spec/spec_helper.rb |
afipws-2.1.0 | spec/spec_helper.rb |