Sha256: 098c22cb6f19cd6254cbcde2e4a1f5f76398b62f62d33ce69dfe106399472aa0

Contents?: true

Size: 495 Bytes

Versions: 7

Compression:

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

Version data entries

7 entries across 7 versions & 1 rubygems

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