Skip to content

Commit e0c49ee

Browse files
committed
Reads openssl path and log for tests from env
1 parent d8a46ce commit e0c49ee

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

spec/spec_helper.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
Bravo.default_documento = 'CUIT'
3131
Bravo.default_moneda = :peso
3232
Bravo.own_iva_cond = :responsable_inscripto
33-
# Bravo.logger = { log: true, level: :critical }
34-
Bravo.openssl_bin = ENV["TRAVIS"] ? 'openssl' : '/usr/local/Cellar/openssl/1.0.1e/bin/openssl'
33+
Bravo.logger = { log: ENV['BRAVO_LOG'] == 'true' }
34+
Bravo.openssl_bin = ENV['OPENSSL_PATH']
3535
Bravo::AuthData.environment = :test
3636

3737
# TODO: refactor into actual validations

0 commit comments

Comments
 (0)