Sha256: 2fe3b7eb5ecaa3e5e0d58768c88ab7a01fb319de8dd6473ee90fb449ba73a9a6
Contents?: true
Size: 394 Bytes
Versions: 8
Compression:
Stored size: 394 Bytes
Contents
require 'spec_helper' describe "datastreams/index.html.erb" do before { visit fcrepo_admin.object_datastreams_path(object) } after { object.delete } let(:object) { FactoryGirl.create(:item) } it "should link to all datastreams" do object.datastreams.each do |dsid, ds| page.should have_link(dsid, :href => fcrepo_admin.object_datastream_path(object, ds)) end end end
Version data entries
8 entries across 8 versions & 1 rubygems