Sha256: abefda337331e63ce6010c2cb046d02da3cbfc4fb64cfafbc41f38c62565faf9
Contents?: true
Size: 767 Bytes
Versions: 11
Compression:
Stored size: 767 Bytes
Contents
require 'spec_helper' describe "objects/show.html.erb" do before { visit fcrepo_admin.object_path(object) } after { object.delete } let(:object) { FactoryGirl.create(:item) } it "should link to other views" do page.should have_link(I18n.t("fcrepo_admin.object.nav.items.audit_trail"), :href => fcrepo_admin.audit_trail_object_path(object)) page.should have_link(I18n.t("fcrepo_admin.object.nav.items.permissions"), :href => fcrepo_admin.permissions_object_path(object)) page.should have_link(I18n.t("fcrepo_admin.object.nav.items.associations"), :href => fcrepo_admin.object_associations_path(object)) page.should have_link(I18n.t("fcrepo_admin.object.nav.items.datastreams"), :href => fcrepo_admin.object_datastreams_path(object)) end end
Version data entries
11 entries across 11 versions & 1 rubygems