public
Description: StrokeDB is an embeddable distributed document database written in Ruby
Homepage: http://strokedb.com/
Clone URL: git://github.com/yrashk/strokedb.git
Removed obsolete pending blocks in document_spec [#29 state:wontfix]
yrashk (author)
Tue Apr 29 21:07:39 -0700 2008
commit  8156934c5d7220e480ddd05593024e970775cd8b
tree    17c11e51b8f58f97661481a88dc6400ecd7809f9
parent  16921f956d4a6520cd292412c72433efefa7128e
...
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
 
 
 
642
643
644
645
646
647
 
 
648
649
650
...
622
623
624
 
625
 
 
 
 
 
 
626
627
628
 
 
 
 
 
 
629
630
631
632
633
634
 
 
 
635
636
637
638
639
0
@@ -622,29 +622,18 @@ describe "Document with a single meta" do
0
     Object.send!(:remove_const, "SomeMeta") if defined? ::SomeMeta
0
     ::SomeMeta = Meta.new(@store)
0
     @meta = ::SomeMeta
0
-    # FIXME: This modifies metameta.
0
     @document = Document.create!(@store, :meta => @meta)
0
-    # This doesn't modify:
0
-    # @document = @meta.create!(@store)
0
-    
0
-  #  p @meta.document.meta
0
-  #  p @document.meta.meta
0
-  #  p @meta.create!.meta.meta
0
   end
0
 
0
   it "but specified within array should return single meta which should be mutable" do
0
-    pending "BUG"
0
-    @document = Document.create!(@store, :meta => [@meta])
0
-  #  p @meta.document.meta
0
-  #  p @document.meta.meta
0
-    @document.meta.should == @meta.document
0
-    @document.meta.should be_mutable
0
+      @document = Document.create!(@store, :meta => [@meta])
0
+      @document.meta.should == @meta.document
0
+      @document.meta.should be_mutable
0
   end
0
 
0
   it "should return single meta which should be mutable" do
0
-    pending "BUG"
0
-    @document.meta.should == @meta.document
0
-    @document.meta.should be_mutable
0
+      @document.meta.should == @meta.document
0
+      @document.meta.should be_mutable
0
   end
0
 
0
 end

Comments