Commit 661b630c2af7f5901198644a3c5a212b871fac5b

Working pending config_spec example has been enabled

Commit diff

spec/lib/strokedb/config_spec.rb

 
134134 it "should use specified store if told so" do
135135 StrokeDB.send!(:remove_const,'SomeFunnyStore') if defined?(SomeFunnyStore)
136136 StrokeDB::SomeFunnyStore = Class.new(Store)
137 pending("not that important now") do
138 config = StrokeDB::Config.build :store => :some_funny, :base_path => @base_path
139 config.stores[:default].should be_a_kind_of(SomeFunnyStore)
140 end
137 config = StrokeDB::Config.build :store => :some_funny, :base_path => @base_path
138 config.stores[:default].should be_a_kind_of(SomeFunnyStore)
141139 end
142140
143141 it "should add storages as he is told to" do
toggle raw diff