spec/lib/solrizer/indexer_spec.rb in solrizer-fedora-1.0.0 vs spec/lib/solrizer/indexer_spec.rb in solrizer-fedora-1.0.1
- old
+ new
@@ -19,10 +19,10 @@
before(:each) do
@extractor = mock("Extractor")
@extractor.stubs(:html_content_to_solr).returns(@solr_doc)
- @solr_doc = Solr::Document.new
+ @solr_doc = Hash.new
Solrizer::Extractor.expects(:new).returns(@extractor)
end
after(:all) do