Sha256: 3792532d2a428e0c64dd70c22d23051deeafa3e256bf5016d45a5e3519da78e1
Contents?: true
Size: 804 Bytes
Versions: 1
Compression:
Stored size: 804 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' RSpec.describe 'RGhost' do before do @valid_attributes = { valor: 0.0, cedente: 'Kivanio Barbosa', documento_cedente: '12345678912', sacado: 'Claudio Pozzebom', sacado_documento: '12345678900', agencia: '4042', conta_corrente: '61900', convenio: 12_387_989, nosso_numero: '777700168' } end it 'Testar se RGhost e GhostScript estão instalados' do # RGhost::Config.config_platform expect(File).to exist(RGhost::Config::GS[:path]) expect(File).to be_executable(RGhost::Config::GS[:path]) s = `#{RGhost::Config::GS[:path]} -v` expect(s).to match(/^GPL Ghostscript/) s = `#{RGhost::Config::GS[:path]} --version` expect(s).to match(/[8-9]\.[0-9]/) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
brcobranca-10.0.0 | spec/brcobranca/rghost_spec.rb |