Sha256: 18471c509711bdc8a3e9446dd52662b40dfd2fc22c75bacf3a3ec854d63c9cdd

Contents?: true

Size: 779 Bytes

Versions: 1

Compression:

Stored size: 779 Bytes

Contents

# frozen_string_literal: true

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

1 entries across 1 versions & 1 rubygems

Version Path
brcobranca-10.0.0 spec/brcobranca_spec.rb