Sha256: c2679b941c22aae8fb6ca76616e034c76db1b18a20fd80232b985f9737bd0bd1
Contents?: true
Size: 446 Bytes
Versions: 2
Compression:
Stored size: 446 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 persisted datastreams" do object.datastreams.reject { |dsid, ds| ds.profile.empty? }.each_key do |dsid| page.should have_link(dsid, :href => fcrepo_admin.object_datastream_path(object, dsid)) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fcrepo_admin-0.4.1 | spec/features/datastreams/index.html.erb_spec.rb |
fcrepo_admin-0.4.0 | spec/features/datastreams/index.html.erb_spec.rb |