Sha256: 8bee4439dcf7c8de71deb3098291cf932a4fa4133be7c96d02e67e11b337d52e
Contents?: true
Size: 430 Bytes
Versions: 1
Compression:
Stored size: 430 Bytes
Contents
require 'spec_helper' describe "audit_trail.html.erb" do let(:object) { FactoryGirl.create(:content_model) } 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.audit_trail.download"), :href => "#{fcrepo_admin.audit_trail_object_path(object)}?download=true") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fcrepo_admin-0.3.1 | spec/features/objects/audit_trail.html.erb_spec.rb |