From cf40b1628b70ab76f4ea46c5bcdadc197cf4ec64 Mon Sep 17 00:00:00 2001 From: Alex Coles Date: Sat, 28 Feb 2015 12:11:10 +0100 Subject: [PATCH] Fix if statement indent in #be_html_spec matcher Signed-off-by: Alex Coles --- spec/support/matchers/be_html_eql.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/support/matchers/be_html_eql.rb b/spec/support/matchers/be_html_eql.rb index 4c4e726f89..f774922305 100644 --- a/spec/support/matchers/be_html_eql.rb +++ b/spec/support/matchers/be_html_eql.rb @@ -38,10 +38,10 @@ match do |actual| @actual = if path - html(actual).css(path) - else - actual - end + html(actual).css(path) + else + actual + end EquivalentXml.equivalent?(self.actual, expected, {}) end