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

Version Path
fcrepo_admin-0.6.1 spec/features/objects/show.html.erb_spec.rb
fcrepo_admin-0.6.0 spec/features/objects/show.html.erb_spec.rb
fcrepo_admin-0.5.5 spec/features/objects/show.html.erb_spec.rb
fcrepo_admin-0.5.5.pre spec/features/objects/show.html.erb_spec.rb
fcrepo_admin-0.5.4 spec/features/objects/show.html.erb_spec.rb
fcrepo_admin-0.5.3 spec/features/objects/show.html.erb_spec.rb
fcrepo_admin-0.5.2 spec/features/objects/show.html.erb_spec.rb
fcrepo_admin-0.5.1 spec/features/objects/show.html.erb_spec.rb
fcrepo_admin-0.5.0 spec/features/objects/show.html.erb_spec.rb
fcrepo_admin-0.4.1 spec/features/objects/show.html.erb_spec.rb
fcrepo_admin-0.4.0 spec/features/objects/show.html.erb_spec.rb