aboutsummaryrefslogtreecommitdiffstats
path: root/spec/support/validate_html.rb
diff options
context:
space:
mode:
authorHenare Degan <henare.degan@gmail.com>2013-01-27 12:52:40 +1100
committerHenare Degan <henare.degan@gmail.com>2013-01-27 12:52:40 +1100
commit39e879cfe57a61132c4e2dbc57a0f578e3ba1a3e (patch)
tree9259ca31316c15aaf6c8adc5240e217f7b678737 /spec/support/validate_html.rb
parent2860c5f3637a31c5d5748688d82411e9e15d4648 (diff)
Fix indentation only
Diffstat (limited to 'spec/support/validate_html.rb')
-rw-r--r--spec/support/validate_html.rb12
1 files changed, 6 insertions, 6 deletions
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