Sha256: 9a06704860237b3bdd40772683a79a7023995ee0402e763aa05fbf72e30142cd
Contents?: true
Size: 1014 Bytes
Versions: 17
Compression:
Stored size: 1014 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + "/../example_helper") describe Micronaut do describe "#configuration" do it "should return an instance of Micronaut::Configuration" do Micronaut.configuration.should be_an_instance_of(Micronaut::Configuration) end end describe "#configure" do it "should yield the current configuration" do Micronaut.configure do |config| config.should == Micronaut.configuration end end it "should be callable without a block" do Micronaut.configure end end describe "#world" do it "should return the Micronaut::World instance the current run is using" do Micronaut.world.should be_instance_of(Micronaut::World) end end describe "InstallDirectory" do it "should be the expanded version of the install directory" do Micronaut::InstallDirectory.should == File.expand_path(File.dirname(__FILE__) + "/../../lib") end end end
Version data entries
17 entries across 17 versions & 2 rubygems