spec/lib/fozzie/configuration_spec.rb in fozzie-0.0.5 vs spec/lib/fozzie/configuration_spec.rb in fozzie-0.0.6
- old
+ new
@@ -19,19 +19,19 @@
end
it "defaults env" do
subject.env.should == 'development'
end
-
+
it "creates a data prefix" do
subject.data_prefix.should == 'development'
end
-
+
it "creates a data prefix with appname when set" do
subject.appname = 'astoria'
subject.data_prefix.should == 'astoria.development'
end
-
+
it "handles missing configuration namespace" do
proc { Fozzie::Configuration.new({:env => 'blbala', :config_path => 'spec/'}) }.should_not raise_error
end
end
\ No newline at end of file