Skip to content

Commit

Permalink
Remove the house name from the legislature heading
Browse files Browse the repository at this point in the history
Removed because it is already in the main heading
  • Loading branch information
octopusinvitro committed Aug 31, 2016
1 parent 573cb7e commit e465b44
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
8 changes: 0 additions & 8 deletions t/web/house_download.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,6 @@
subject { Nokogiri::HTML(last_response.body) }
before { get '/united-states-of-america/senate/download.html' }

describe 'headings' do
let(:house_header) { subject.css('.country__legislature__header h2').text }

it 'shows the house name in the legislature header' do
house_header.must_include 'Senate'
end
end

describe 'download links' do
let(:all_data) { subject.css('.country__legislature a.button--download/@href') }
let(:last_term) { subject.css('.avatar-unit a.button--download/@href').first }
Expand Down
3 changes: 0 additions & 3 deletions views/house_download.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
<div class="page-section">
<div class="container">
<div class="country__legislature" id="legislature-<%= @page.house.slug.downcase %>" data-house="<%= @page.house.slug.downcase %>">
<div class="country__legislature__header">
<h2><%= @page.house.name %></h2>
</div>
<p>
Read more about
<a href="http://docs.everypolitician.org/data_summary.html">what’s in the data</a>
Expand Down

0 comments on commit e465b44

Please sign in to comment.