Sha256: cc42f8ea36ae0923db0965c8ecc8369c3ebbc3d9769197d9ba31e9909ea08886

Contents?: true

Size: 368 Bytes

Versions: 2

Compression:

Stored size: 368 Bytes

Contents

require 'spec_helper'

describe ActiveFedora::RelsInt, type: :integration do
  before :all do
    class Foo < ActiveFedora::Base
      include ActiveFedora::RelsInt
    end
  end
  
  after :all do
    Object.send(:remove_const, :Foo) # cleanup
  end

  it "should load from solr" do
    f = Foo.create
    Foo.load_instance_from_solr(f.id).should_not be_nil
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
active_fedora_relsint-0.4.1 spec/integration/relsint_spec.rb
active_fedora_relsint-0.4.0 spec/integration/relsint_spec.rb