Sha256: 0b9089551e86f9620a9e773ef23f200af284dea2c8b7a0d444290d3c56330dfe

Contents?: true

Size: 502 Bytes

Versions: 7

Compression:

Stored size: 502 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::Discharge do
  before {
    BoletoSimples.configure do |c|
      c.application_id = nil
      c.application_secret = nil
    end
  }
  describe 'all', vcr: { cassette_name: 'resources/discharge/all'} do
    subject { BoletoSimples::Discharge.all }
    it { expect(subject.first).to be_a_kind_of(BoletoSimples::Discharge) }
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

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