Sha256: e616bbf4f80f913350185233ad27f8e63e34d70f87a2f7d478b66e2fb3605cae
Contents?: true
Size: 722 Bytes
Versions: 2
Compression:
Stored size: 722 Bytes
Contents
require 'spec_helper' require 'logger' describe Killbill::PaypalExpress::PaymentPlugin do before(:each) do Dir.mktmpdir do |dir| file = File.new(File.join(dir, 'paypal_express.yml'), "w+") file.write(<<-eos) :paypal: :signature: 'signature' :login: 'login' :password: 'password' :database: :adapter: 'sqlite3' :database: 'shouldntmatter.db' eos file.close @plugin = Killbill::PaypalExpress::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-paypal-express-1.0.2 | spec/paypal_express/base_plugin_spec.rb |
killbill-paypal-express-1.0.1 | spec/paypal_express/base_plugin_spec.rb |