Sha256: ad245367b6dc652fe6662faff13c9efebc0e63930e125c225ac441fa2366744e

Contents?: true

Size: 428 Bytes

Versions: 4

Compression:

Stored size: 428 Bytes

Contents

require 'spec_helper'

describe "audit_trail.html.erb" do
  let(:object) { FactoryGirl.create(:item) }
  after { object.delete }
  it "should display the audit trail" do
    visit fcrepo_admin.audit_trail_object_path(object)
    page.should have_content(object.pid)
    page.should have_link(I18n.t("fcrepo_admin.object.audit_trail.download"), :href => "#{fcrepo_admin.audit_trail_object_path(object)}?download=true")
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fcrepo_admin-0.5.1 spec/features/objects/audit_trail.html.erb_spec.rb
fcrepo_admin-0.5.0 spec/features/objects/audit_trail.html.erb_spec.rb
fcrepo_admin-0.4.1 spec/features/objects/audit_trail.html.erb_spec.rb
fcrepo_admin-0.4.0 spec/features/objects/audit_trail.html.erb_spec.rb