Sha256: 9878a9d2620b523d74e35492e18dfe0e992f48de48ec54ea73d824e02d695c22

Contents?: true

Size: 777 Bytes

Versions: 16

Compression:

Stored size: 777 Bytes

Contents

# -*- encoding: utf-8 -*-
#

require 'spec_helper'

RSpec.describe 'Brcobranca' do
  describe 'gerador' do
    context 'rghost' do
      before { Brcobranca.configuration.gerador = :rghost }

      it { expect(Brcobranca.configuration.gerador).to be(:rghost) }
    end

    context 'prawn' do
      before { Brcobranca.configuration.gerador = :prawn }

      it { expect(Brcobranca.configuration.gerador).to be(:prawn) }
    end
  end

  describe 'formato' do
    context 'pdf' do
      before { Brcobranca.configuration.formato = :pdf }

      it { expect(Brcobranca.configuration.formato).to be(:pdf) }
    end

    context 'gif' do
      before { Brcobranca.configuration.formato = :gif }

      it { expect(Brcobranca.configuration.formato).to be(:gif) }
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
brcobranca-9.2.4 spec/brcobranca_spec.rb
brcobranca-9.2.3 spec/brcobranca_spec.rb
brcobranca-9.2.2 spec/brcobranca_spec.rb
brcobranca-9.2.1 spec/brcobranca_spec.rb
brcobranca-9.2.0 spec/brcobranca_spec.rb
brcobranca-9.1.2 spec/brcobranca_spec.rb
brcobranca-9.1.1 spec/brcobranca_spec.rb
brcobranca-9.1.0 spec/brcobranca_spec.rb
brcobranca-9.0.0 spec/brcobranca_spec.rb
brcobranca-8.0.0 spec/brcobranca_spec.rb
brcobranca-7.3.0 spec/brcobranca_spec.rb
brcobranca-7.2.2 spec/brcobranca_spec.rb
brcobranca-7.2.1 spec/brcobranca_spec.rb
brcobranca-7.2.0 spec/brcobranca_spec.rb
brcobranca-7.1.0 spec/brcobranca_spec.rb
brcobranca-7.0.0 spec/brcobranca_spec.rb