Sha256: 98b31671d9db2dc277c485341b4fdd50d2910ba70004363fea3a5f2708474c38
Contents?: true
Size: 684 Bytes
Versions: 6
Compression:
Stored size: 684 Bytes
Contents
require 'spec_helper' describe "catalog/show.html.erb" do after { object.delete } context "basic object" do let(:object) { FactoryGirl.create(:content_model) } it "should link to all datastreams" do visit catalog_path(object) 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 it "should link to its audit trail" do visit catalog_path(object) page.should have_link(I18n.t("fcrepo_admin.audit_trail.title")) end end context "object has admin policy" do it "should link to the APO" end end
Version data entries
6 entries across 6 versions & 1 rubygems