aboutsummaryrefslogtreecommitdiffstats
path: root/spec/views
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2012-10-22 17:28:03 +1100
committerMatthew Landauer <matthew@openaustralia.org>2012-10-22 18:54:12 +1100
commitea9bf6994f73aa2a8e98c246303c5cdebe666917 (patch)
treed353aa43c157754aca47f155e4e975467a947416 /spec/views
parentb703f2aaa338e3837561676e4ba90f6c99745c54 (diff)
Show disclosure log link if available
Diffstat (limited to 'spec/views')
-rw-r--r--spec/views/public_body/show.rhtml_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/views/public_body/show.rhtml_spec.rb b/spec/views/public_body/show.rhtml_spec.rb
index a42516d72..b68b3f43b 100644
--- a/spec/views/public_body/show.rhtml_spec.rb
+++ b/spec/views/public_body/show.rhtml_spec.rb
@@ -11,6 +11,7 @@ describe "when viewing a body" do
:eir_only? => nil,
:info_requests => [1, 2, 3, 4], # out of sync with Xapian
:publication_scheme => '',
+ :disclosure_log => '',
:calculated_home_page => '')
@pb.stub!(:override_request_email).and_return(nil)
@pb.stub!(:is_requestable?).and_return(true)