Sha256: 7eac83603f0cc59da24ffb88d2cbc6cb52b7d05e2de17f52aa1345beb9df5562
Contents?: true
Size: 636 Bytes
Versions: 1
Compression:
Stored size: 636 Bytes
Contents
require 'rubygems' require 'rspec' require 'active_zuora' I18n.enforce_available_locales = true ActiveZuora.configure( :log => ENV['DEBUG'], :username => ENV['ZUORA_USER'], :password => ENV['ZUORA_PASS'] ) module Z; end ActiveZuora.generate_classes :inside => Z def integration_test # Block helper. Integration tests should be wrapped in this block. if ENV['ZUORA_USER'] && ENV['ZUORA_PASS'] yield else $stderr.puts "Integration tests skipped because ZUORA_USER or ZUORA_PASS are not set." end end def now(_message) yield end module Tenant def self.currency ENV['ZUORA_CURRENCY'] || 'USD' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
active_zuora-2.1.1 | spec/spec_helper.rb |