Sha256: 3b61e71cb2a846827a9ac828aa910411b6f0ae8d198ad8a662bc7b3b3809d23a

Contents?: true

Size: 486 Bytes

Versions: 7

Compression:

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

Version data entries

7 entries across 7 versions & 1 rubygems

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