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

Version Path
fcrepo_admin-0.6.0 spec/features/datastreams/index.html.erb_spec.rb
fcrepo_admin-0.5.5 spec/features/datastreams/index.html.erb_spec.rb
fcrepo_admin-0.5.5.pre spec/features/datastreams/index.html.erb_spec.rb
fcrepo_admin-0.5.4 spec/features/datastreams/index.html.erb_spec.rb
fcrepo_admin-0.5.3 spec/features/datastreams/index.html.erb_spec.rb
fcrepo_admin-0.5.2 spec/features/datastreams/index.html.erb_spec.rb
fcrepo_admin-0.5.1 spec/features/datastreams/index.html.erb_spec.rb
fcrepo_admin-0.5.0 spec/features/datastreams/index.html.erb_spec.rb