Sha256: 395a3cd130d8ff1f7e31fa875507d23c053fa2815dfe9897411b3e112749080a

Contents?: true

Size: 396 Bytes

Versions: 4

Compression:

Stored size: 396 Bytes

Contents

# -*- encoding: utf-8 -*-
require 'spec_helper'

describe BoletoSimples::Client do
  describe :userinfo do
    context :without_authentication do
      let(:client) { BoletoSimples::Client.new(nil, nil, {user_agent: 'Meu e-Commerce (meuecommerce@example.com)'}) }
      it { expect(client.userinfo).to eq({"error"=>"VocĂȘ precisa se logar ou registrar antes de prosseguir."}) }
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
boletosimples-0.0.4 spec/boletosimples/client_spec.rb
boletosimples-0.0.3 spec/boletosimples/client_spec.rb
boletosimples-0.0.2 spec/boletosimples/client_spec.rb
boletosimples-0.0.1 spec/boletosimples/client_spec.rb