Sha256: 14e3e56034268c8ff57c700625c2987710bbbc9aec62b1eb50d52be510524aa3
Contents?: true
Size: 665 Bytes
Versions: 2
Compression:
Stored size: 665 Bytes
Contents
require 'spec_helper' describe Killbill::Litle::PaymentPlugin do before(:each) do Dir.mktmpdir do |dir| file = File.new(File.join(dir, 'litle.yml'), "w+") file.write(<<-eos) :litle: :merchant_id: 'merchant_id' :password: 'password' :database: :adapter: 'sqlite3' :database: 'shouldntmatter.db' eos file.close @plugin = Killbill::Litle::PaymentPlugin.new @plugin.root = File.dirname(file) @plugin.logger = Logger.new(STDOUT) # Start the plugin here - since the config file will be deleted @plugin.start_plugin end end it "should start and stop correctly" do @plugin.stop_plugin end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
killbill-litle-1.0.2 | spec/litle/base_plugin_spec.rb |
killbill-litle-1.0.1 | spec/litle/base_plugin_spec.rb |