Sha256: db598d4011e27a535daeeadf0bc29c9a905d88f2ffd361b6e333da05ce127ce5

Contents?: true

Size: 485 Bytes

Versions: 4

Compression:

Stored size: 485 Bytes

Contents

require 'rubygems'
require 'rspec'
require 'active_zuora'

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
active_zuora-2.0.3 spec/spec_helper.rb
active_zuora-2.0.2 spec/spec_helper.rb
active_zuora-2.0.1 spec/spec_helper.rb
active_zuora-2.0.0 spec/spec_helper.rb