Sha256: 023a9146836db04f17db45f0926beb96d33deee3849a4811725ac20a581628f1
Contents?: true
Size: 669 Bytes
Versions: 9
Compression:
Stored size: 669 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.logger = Logger.new(STDOUT) @plugin.conf_dir = File.dirname(file) # 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
9 entries across 9 versions & 1 rubygems