Sha256: 217650fd7936675c310f2001a63fd577f3ef2c1e3a46084d0c7228ae2a0993c0
Contents?: true
Size: 757 Bytes
Versions: 2
Compression:
Stored size: 757 Bytes
Contents
require 'bundler' require 'orbital' require 'killbill/helpers/active_merchant/killbill_spec_helper' require 'logger' require 'rspec' RSpec.configure do |config| config.color_enabled = true config.tty = true config.formatter = 'documentation' end require 'active_record' ActiveRecord::Base.establish_connection( :adapter => 'sqlite3', :database => 'test.db' ) # For debugging #ActiveRecord::Base.logger = Logger.new(STDOUT) # Create the schema require File.expand_path(File.dirname(__FILE__) + '../../db/schema.rb') def create_payment kb_payment_id = SecureRandom.uuid 1.upto(6) do @kb_payment = @plugin.kb_apis.proxied_services[:payment_api].add_payment(kb_payment_id) end [kb_payment_id, @kb_payment.transactions[0].id] end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
killbill-orbital-0.1.3 | spec/spec_helper.rb |
killbill-orbital-0.1.2 | spec/spec_helper.rb |