From b75d79b08227192b75e4f3b24ce4e762f4286ef9 Mon Sep 17 00:00:00 2001 From: Mark Longair Date: Tue, 20 Aug 2013 10:04:54 +0100 Subject: Add a config option to enable the public body statistics page --- spec/controllers/public_body_controller_spec.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'spec/controllers/public_body_controller_spec.rb') diff --git a/spec/controllers/public_body_controller_spec.rb b/spec/controllers/public_body_controller_spec.rb index 87544b96a..92130f3d0 100644 --- a/spec/controllers/public_body_controller_spec.rb +++ b/spec/controllers/public_body_controller_spec.rb @@ -213,6 +213,7 @@ describe PublicBodyController, "when showing public body statistics" do it "should render the right template with the right data" do config = MySociety::Config.load_default() config['MINIMUM_REQUESTS_FOR_STATISTICS'] = 1 + config['PUBLIC_BODY_STATISTICS_PAGE'] = true get :statistics response.should render_template('public_body/statistics') # There are 5 different graphs we're creating at the moment. -- cgit v1.2.3