Sha256: 7d7827f79572bc94fd3b53de057467b18ad952e4c4faa84166abdbd7ebd1589e

Contents?: true

Size: 448 Bytes

Versions: 6

Compression:

Stored size: 448 Bytes

Contents

require 'spec_helper'

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fcrepo_admin-0.3.0 spec/features/audit_trail/index.html.erb_spec.rb
fcrepo_admin-0.2.4 spec/features/audit_trail/index.html.erb_spec.rb
fcrepo_admin-0.2.3 spec/features/audit_trail/index.html.erb_spec.rb
fcrepo_admin-0.2.0 spec/features/audit_trail/index.html.erb_spec.rb
fcrepo_admin-0.1.1 spec/features/audit_trail/index.html.erb_spec.rb
fcrepo_admin-0.1.0 spec/features/audit_trail/index.html.erb_spec.rb