Sha256: b9f35ab2aa36625157c22433f006be9c6d74b80de2835f8581269d1e985311ac

Contents?: true

Size: 444 Bytes

Versions: 3

Compression:

Stored size: 444 Bytes

Contents

require 'spec_helper'

describe ActiveFedora::SolrDigitalObject do
  subject { ActiveFedora::SolrDigitalObject.new({}) }
  describe "when not finished" do
    it "should not respond_to? :repository" do
      subject.should_not respond_to :repository
    end
  end
  describe "when finished" do
    before do
      subject.freeze
    end
    it "should respond_to? :repository" do
      subject.should respond_to :repository
    end
  end


end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
active-fedora-4.0.0.rc14 spec/unit/solr_digital_object_spec.rb
active-fedora-4.0.0.rc13 spec/unit/solr_digital_object_spec.rb
active-fedora-4.0.0.rc12 spec/unit/solr_digital_object_spec.rb