Sha256: 5e6fdaf714605e1a4a5e8709c50ffe09061f6bda63bf5a34cca378ea08ddeabe

Contents?: true

Size: 518 Bytes

Versions: 6

Compression:

Stored size: 518 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
require 'solrizer'

describe Solrizer::Indexer do
  
  before(:each) do
    @indexer = Solrizer::Indexer.new
  end
  
  describe "index" do
    it "should update solr with the metadata from the given object" do
      pending "Got to decide if/how to handle fixtures in this gem. Probably should just mock out Fedora & Solr entirely."
      obj = Solrizer::Repository.get_object( "druid:sb733gr4073" )
      @indexer.index( obj )
    end
  end
  
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
solrizer-0.2.0 spec/integration/indexer_spec.rb
solrizer-0.1.3 spec/integration/indexer_spec.rb
solrizer-0.1.2 spec/integration/indexer_spec.rb
solrizer-0.1.1 spec/integration/indexer_spec.rb
solrizer-0.1.0 spec/integration/indexer_spec.rb
solrizer-0.1.0.pre2 spec/integration/indexer_spec.rb