From 39e879cfe57a61132c4e2dbc57a0f578e3ba1a3e Mon Sep 17 00:00:00 2001 From: Henare Degan Date: Sun, 27 Jan 2013 12:52:40 +1100 Subject: Fix indentation only --- spec/support/validate_html.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'spec/support') diff --git a/spec/support/validate_html.rb b/spec/support/validate_html.rb index 558e562e2..09c415936 100644 --- a/spec/support/validate_html.rb +++ b/spec/support/validate_html.rb @@ -48,12 +48,12 @@ if $tempfilecount.nil? return if @response.body.empty? # And then if HTML, not a redirect (302, 301) if @response.content_type == "text/html" && ! [301,302,401].include?(@response.response_code) - if !is_fragment - validate_html(@response.body) - else - # it's a partial - validate_as_body(@response.body) - end + if !is_fragment + validate_html(@response.body) + else + # it's a partial + validate_as_body(@response.body) + end end end end -- cgit v1.2.3