Sha256: 324c17938b96f8427ac0e16208a0668cab753dde85bd1f42440be6c8f6af7c4d
Contents?: true
Size: 594 Bytes
Versions: 5
Compression:
Stored size: 594 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
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
afipws-1.1.0 | spec/spec_helper.rb |
afipws-1.0.4 | spec/spec_helper.rb |
afipws-1.0.3 | spec/spec_helper.rb |
afipws-1.0.2 | spec/spec_helper.rb |
afipws-1.0.1 | spec/spec_helper.rb |