Sha256: 590c5c6b1c3a69876e4d69bcc9443f128680bda490da7487eaea53a733a89274

Contents?: true

Size: 506 Bytes

Versions: 7

Compression:

Stored size: 506 Bytes

Contents

# encoding: UTF-8

require 'spec_helper'

# Before running this spec again, you need to set environment variable BOLETOSIMPLES_ACCESS_TOKEN
RSpec.describe BoletoSimples::Remittance do
  before {
    BoletoSimples.configure do |c|
      c.application_id = nil
      c.application_secret = nil
    end
  }
  describe 'all', vcr: { cassette_name: 'resources/remittance/all'} do
    subject { BoletoSimples::Remittance.all }
    it { expect(subject.first).to be_a_kind_of(BoletoSimples::Remittance) }
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
boletosimples-0.6.0 spec/boletosimples/resources/remittance_spec.rb
boletosimples-0.5.0 spec/boletosimples/resources/remittance_spec.rb
boletosimples-0.4.2 spec/boletosimples/resources/remittance_spec.rb
boletosimples-0.4.1 spec/boletosimples/resources/remittance_spec.rb
boletosimples-0.4.0 spec/boletosimples/resources/remittance_spec.rb
boletosimples-0.3.1 spec/boletosimples/resources/remittance_spec.rb
boletosimples-0.3.0 spec/boletosimples/resources/remittance_spec.rb