Remove trailing whitespace

This commit is contained in:
Javi Martín
2018-12-10 12:59:03 +01:00
parent ef16efe5e4
commit aa45c39d3e
2 changed files with 6 additions and 7 deletions

View File

@@ -20,11 +20,11 @@
<div class="row"> <div class="row">
<% if @cards.any? %> <% if @cards.any? %>
<div class="small-12 column <%= 'large-8' if feed_processes_enabled? %>"> <div class="small-12 column <%= 'large-8' if feed_processes_enabled? %>">
<%= render "cards" %> <%= render "cards" %>
</div> </div>
<% end %> <% end %>
<div class="small-12 large-4 column"> <div class="small-12 large-4 column">
<%= render "processes" %> <%= render "processes" %>

View File

@@ -143,8 +143,7 @@ feature "Home" do
"/html/body/div[@class='wrapper ']/comment()[contains(.,'ie-callout')]" "/html/body/div[@class='wrapper ']/comment()[contains(.,'ie-callout')]"
end end
end end
scenario 'if there are cards, the "featured" title will render' do scenario 'if there are cards, the "featured" title will render' do
card = create(:widget_card, card = create(:widget_card,
title: "Card text", title: "Card text",
@@ -152,15 +151,15 @@ feature "Home" do
link_text: "Link text", link_text: "Link text",
link_url: "consul.dev" link_url: "consul.dev"
) )
visit root_path visit root_path
expect(page).to have_css(".title", text: "Featured") expect(page).to have_css(".title", text: "Featured")
end end
scenario 'if there are no cards, the "featured" title will not render' do scenario 'if there are no cards, the "featured" title will not render' do
visit root_path visit root_path
expect(page).not_to have_css(".title", text: "Featured") expect(page).not_to have_css(".title", text: "Featured")
end end
end end