Sha256: 52c80f70f540aaba1f7336296bda6af6b600b15a3a82ee16451e1ff6b4c503fb
Contents?: true
Size: 1.18 KB
Versions: 5
Compression:
Stored size: 1.18 KB
Contents
require 'tmpdir' require 'thor' require 'kpm' require 'logger' require 'rspec' require 'securerandom' require 'yaml' require 'killbill_client' RSpec.configure do |config| config.color_enabled = true config.tty = true config.formatter = 'documentation' config.filter_run_excluding :skip_me_if_nil => true end shared_context 'connection_setup' do let(:logger) do logger = ::Logger.new(STDOUT) logger.level = Logger::FATAL logger end let(:yml_file) {YAML::load_file(Dir["#{Dir.pwd}/**/account_spec.yml"][0])} let(:dummy_data_file) {Dir.mktmpdir('dummy') + File::SEPARATOR + 'kbdump'} let(:url) {"http://#{yml_file['killbill']['host']}:#{yml_file['killbill']['port']}"} let(:killbill_api_key) {yml_file['killbill']['api_key']} let(:killbill_api_secrets) {yml_file['killbill']['api_secret']} let(:killbill_user) {yml_file['killbill']['user']} let(:killbill_password) {yml_file['killbill']['password']} let(:db_name) {yml_file['database']['name']} let(:db_username) {yml_file['database']['user']} let(:db_password) {yml_file['database']['password']} let(:db_host) {yml_file['database']['host']} let(:db_port) {yml_file['database']['port']} end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
kpm-0.7.2 | spec/spec_helper.rb |
kpm-0.7.1 | spec/spec_helper.rb |
kpm-0.7.0 | spec/spec_helper.rb |
kpm-0.6.5 | spec/spec_helper.rb |
kpm-0.6.4 | spec/spec_helper.rb |