Sha256: f9d496442a89656a059b2d6f94ca5b49b507ab940281a5047908c0c314a3dcb1

Contents?: true

Size: 467 Bytes

Versions: 2

Compression:

Stored size: 467 Bytes

Contents

require 'spec_helper'

describe FedoraMigrate do
  context "with an object's datastreams" do
    subject { described_class.source.connection.find("sufia:rb68xc089") }

    it "loads them" do
      expect(subject.datastreams.count).to eql 8
    end

    it "sees thier names" do
      expect(subject.datastreams.keys).to include("content")
    end

    it "returns their content" do
      expect(subject.datastreams["content"].content).not_to be_nil
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fedora-migrate-0.5.0 spec/integration/fedora3_interface_spec.rb
fedora-migrate-0.4.0 spec/integration/fedora3_interface_spec.rb