Sha256: 765064076132edb397860295da285f326cf239eddb32ce7e54f2be625e218b34

Contents?: true

Size: 428 Bytes

Versions: 7

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, :format => 
'xml'))
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
fcrepo_admin-0.6.1 spec/features/objects/audit_trail.html.erb_spec.rb
fcrepo_admin-0.6.0 spec/features/objects/audit_trail.html.erb_spec.rb
fcrepo_admin-0.5.5 spec/features/objects/audit_trail.html.erb_spec.rb
fcrepo_admin-0.5.5.pre spec/features/objects/audit_trail.html.erb_spec.rb
fcrepo_admin-0.5.4 spec/features/objects/audit_trail.html.erb_spec.rb
fcrepo_admin-0.5.3 spec/features/objects/audit_trail.html.erb_spec.rb
fcrepo_admin-0.5.2 spec/features/objects/audit_trail.html.erb_spec.rb