Sha256: 02e0d97e1ca735a9fed4677a0268fa61f6b9cbb6caf3c30d18b0d43b46b4f60f

Contents?: true

Size: 325 Bytes

Versions: 18

Compression:

Stored size: 325 Bytes

Contents

#
module RemessaHelpers
  def read_remessa(name, body = nil)
    filename = File.join(File.dirname(__FILE__), '..', 'fixtures', 'remessa', name)
    File.open(filename, 'w') { |f| f.write(body) } unless File.exist?(filename)
    File.read(filename)
  end
end

RSpec.configure do |config|
  config.include RemessaHelpers
end

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
brcobranca-9.2.4 spec/support/remessa_helpers.rb
brcobranca-9.2.3 spec/support/remessa_helpers.rb
bbrcobranca-0.0.2 spec/support/remessa_helpers.rb
bbrcobranca-0.0.1 spec/support/remessa_helpers.rb
brcobranca-9.2.2 spec/support/remessa_helpers.rb
brcobranca-9.2.1 spec/support/remessa_helpers.rb
brcobranca-9.2.0 spec/support/remessa_helpers.rb
brcobranca-9.1.2 spec/support/remessa_helpers.rb
brcobranca-9.1.1 spec/support/remessa_helpers.rb
brcobranca-9.1.0 spec/support/remessa_helpers.rb
brcobranca-9.0.0 spec/support/remessa_helpers.rb
brcobranca-8.0.0 spec/support/remessa_helpers.rb
brcobranca-7.3.0 spec/support/remessa_helpers.rb
brcobranca-7.2.2 spec/support/remessa_helpers.rb
brcobranca-7.2.1 spec/support/remessa_helpers.rb
brcobranca-7.2.0 spec/support/remessa_helpers.rb
brcobranca-7.1.0 spec/support/remessa_helpers.rb
brcobranca-7.0.0 spec/support/remessa_helpers.rb