spec/document_spec.rb in mida-0.3.2 vs spec/document_spec.rb in mida-0.3.3

- old
+ new

@@ -83,30 +83,9 @@ itemtype %r{http://data-vocabulary.org/Review} has_one 'item_reviewed' end end - context 'with validation on' do - before do - @md = Mida::Document.new(@html) - end - - it 'should reject properties for items of known vocabularies that are not valid' do - @md.items[0].properties.should == {} - end - end - - context 'with validation off' do - before do - @md = Mida::Document.new(@html, false) - end - - it 'should accept properties for items of known vocabularies even if not valid' do - @md.items[0].properties['itemreviewed'].should == - ['Romeo Pizza', 'Some Other Pizza'] - end - end - after do Mida::Vocabulary.unregister(Review) end end