Sha256: 475b6626c5ad4b472c627de970b6eac3d288015a30c3fa8009ce9fa13fec7d80
Contents?: true
Size: 493 Bytes
Versions: 80
Compression:
Stored size: 493 Bytes
Contents
require 'spec_helper' describe Killbill::Plugin::RackHandler do it 'should be able to register Sinatra apps' do rack = Killbill::Plugin::RackHandler.instance rack.configured?.should be_false rack.configure(Killbill::Plugin::KillbillLogger.new(::Logger.new(STDOUT)), File.expand_path('../config_test.ru', __FILE__)) rack.configured?.should be_true status, headers, body = rack.rack_service('/ping') status.should == 200 body.join('').should == 'pong' end end
Version data entries
80 entries across 80 versions & 1 rubygems