spec/features/objects/show.html.erb_spec.rb in fcrepo_admin-0.3.0 vs spec/features/objects/show.html.erb_spec.rb in fcrepo_admin-0.3.1
- old
+ new
@@ -18,10 +18,10 @@
page.should have_link(dsid, :href => fcrepo_admin.object_datastream_path(object, dsid))
end
end
it "should link to its audit trail" do
visit fcrepo_admin.object_path(object)
- page.should have_link(I18n.t("fcrepo_admin.audit_trail.title"), :href => fcrepo_admin.object_audit_trail_index_path(object))
+ page.should have_link(I18n.t("fcrepo_admin.audit_trail.title"), :href => fcrepo_admin.audit_trail_object_path(object))
end
it "should display the object's permissions"
end
context "object governed by an admin policy" do
let(:object) { FactoryGirl.create(:content_model_has_apo) }