Modifies the overview page so when there is an empty dataset, there is clearer explanatory text and an empty version of the variance chart. Finishes #180118088
<p class="caption mb-5">Note: No measures can be displayed due to limited availability of school admin data and/or low survey response rates.</p>
<% elsif not_displayed_presenters.present? %>
<p class="caption mb-5">Note: The following measures are not displayed due to limited availability of school admin data and/or low survey response rates: <%= not_displayed_presenters.map(&:measure_name).join('; ') %>.</p>
it"displays the text 'insufficient data' for an empty dataset"do
expect(rendered).tohave_text'Insufficient data'
end
it"does not display the partial data text: 'The following measures are not displayed due to limited availability of school admin data and/or low survey response rates:' "do
expect(rendered).not_tohave_text'The following measures are not displayed due to limited availability of school admin data and/or low survey response rates:'