diff --git a/spec/lib/strokedb/config_spec.rb b/spec/lib/strokedb/config_spec.rb index 77f30310..2eb1e1e4 100644 --- a/spec/lib/strokedb/config_spec.rb +++ b/spec/lib/strokedb/config_spec.rb @@ -134,9 +134,10 @@ it "should use specified store if told so" do StrokeDB.send!(:remove_const,'SomeFunnyStore') if defined?(SomeFunnyStore) StrokeDB::SomeFunnyStore = Class.new(Store) - pending("not that important now") - config = StrokeDB::Config.build :store => :some_funny, :base_path => @base_path - config.stores[:default].should be_a_kind_of(SomeFunnyStore) + pending("not that important now") do + config = StrokeDB::Config.build :store => :some_funny, :base_path => @base_path + config.stores[:default].should be_a_kind_of(SomeFunnyStore) + end end it "should add storages as he is told to" do diff --git a/spec/lib/strokedb/document/associations_spec.rb b/spec/lib/strokedb/document/associations_spec.rb index ca24d82c..cac28060 100644 --- a/spec/lib/strokedb/document/associations_spec.rb +++ b/spec/lib/strokedb/document/associations_spec.rb @@ -376,4 +376,3 @@ def some_method end end -