diff --git a/spec/lib/tabular_form_builder_spec.rb b/spec/lib/tabular_form_builder_spec.rb
index 6a655e3c58..08a6f64910 100644
--- a/spec/lib/tabular_form_builder_spec.rb
+++ b/spec/lib/tabular_form_builder_spec.rb
@@ -303,8 +303,13 @@ JJ Abrams
it 'should output element' do
expect(output).to be_html_eql %{
-
- }.strip
+
+ }.squish
end
end