Sha256: a9f89d1aac1265ffdf9a721288380d3f9736cb777d7384c5a9d1d3401a4cf0bf
Contents?: true
Size: 673 Bytes
Versions: 5
Compression:
Stored size: 673 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' require 'optparse' describe Trinidad::Extensions do before(:each) do @extensions = {:foo => {:bar => :bazz}} end it "configures the server with new stuff" do lambda {Trinidad::Extensions.configure_server_extensions(@extensions, nil)}.should_not raise_error lambda {Trinidad::Extensions.const_get(:FooServerExtension)}.should_not raise_error end it "configures the webapp with new stuff" do lambda {Trinidad::Extensions.configure_webapp_extensions(@extensions, nil, nil)}.should_not raise_error lambda {Trinidad::Extensions.const_get(:FooWebAppExtension)}.should_not raise_error end end
Version data entries
5 entries across 5 versions & 2 rubygems