Sha256: e081b39078ac7b84cd89e3cf4fed0463cb1b8650162931174e5eca601455b2fe

Contents?: true

Size: 924 Bytes

Versions: 8

Compression:

Stored size: 924 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
    
  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

8 entries across 8 versions & 1 rubygems

Version Path
spicycode-micronaut-0.1.4.2 examples/lib/micronaut_example.rb
spicycode-micronaut-0.1.4.3 examples/lib/micronaut_example.rb
spicycode-micronaut-0.1.4.4 examples/lib/micronaut_example.rb
spicycode-micronaut-0.1.5.2 examples/lib/micronaut_example.rb
spicycode-micronaut-0.1.5 examples/lib/micronaut_example.rb
spicycode-micronaut-0.1.6.1 examples/lib/micronaut_example.rb
spicycode-micronaut-0.1.6.8 examples/lib/micronaut_example.rb
spicycode-micronaut-0.1.6 examples/lib/micronaut_example.rb