Sha256: 7817c2dd904aa7ad5070b38415492fdc27f5d89d671e04739f20855d86cc2fbe
Contents?: true
Size: 870 Bytes
Versions: 12
Compression:
Stored size: 870 Bytes
Contents
require 'spec_helper' ActiveMerchant::Billing::Base.mode = :test describe Killbill::<%= class_name %>::PaymentPlugin do include ::Killbill::Plugin::ActiveMerchant::RSpec before(:each) do @plugin = Killbill::<%= class_name %>::PaymentPlugin.new @account_api = ::Killbill::Plugin::ActiveMerchant::RSpec::FakeJavaUserAccountApi.new svcs = {:account_user_api => @account_api} @plugin.kb_apis = Killbill::Plugin::KillbillApi.new('<%= identifier %>', svcs) @plugin.logger = Logger.new(STDOUT) @plugin.logger.level = Logger::INFO @plugin.conf_dir = File.expand_path(File.dirname(__FILE__) + '../../../../') @plugin.start_plugin end after(:each) do @plugin.stop_plugin end it 'should be able to create and retrieve payment methods' do end it 'should be able to charge and refund' do end end
Version data entries
12 entries across 12 versions & 1 rubygems