Sha256: 6bb37d8d86a1b131b82e1e44f9f6f3ffc72bead78cd3c7f11ccdf678ea3c7499

Contents?: true

Size: 521 Bytes

Versions: 6

Compression:

Stored size: 521 Bytes

Contents

# -*- encoding: utf-8 -*-
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')

describe "Brcobranca" do
  it "Validar opções padrão" do
    Brcobranca.configuration.gerador.should eql(:rghost)
    Brcobranca.configuration.formato.should eql(:pdf)
  end

  it "Mudar configurações" do
    Brcobranca.setup do |config|
      config.gerador = :prawn
      config.formato = :gif
    end
    Brcobranca.configuration.gerador.should eql(:prawn)
    Brcobranca.configuration.formato.should eql(:gif)
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
brcobranca-3.1.3 spec/brcobranca_spec.rb
brcobranca-3.1.2 spec/brcobranca_spec.rb
brcobranca-3.1.1 spec/brcobranca_spec.rb
brcobranca-3.1.0 spec/brcobranca_spec.rb
brcobranca-3.0.0 spec/brcobranca_spec.rb
tulios-brcobranca-3.0.0 spec/brcobranca_spec.rb