diff --git a/spec/visual_report_helper.rb b/spec/visual_report_helper.rb
index e77fa86..faf2b8f 100644
--- a/spec/visual_report_helper.rb
+++ b/spec/visual_report_helper.rb
@@ -1,6 +1,46 @@
# frozen_string_literal: true
module VisualReportHelper
+ VISUAL_REPORT_TEMPLATE = <<-HTML
+
+
+
+ Morandi report
+
+
+
+
+
+
+
+ Description |
+ Image |
+
+
+
+
+
+
+
+
+
+ HTML
+
class << self
attr_accessor :group
end
@@ -13,45 +53,7 @@ def visual_report_path
def create_visual_report
File.open(visual_report_path, 'w') do |fp|
- fp << <<-HTML
-
-
-
- Morandi report
-
-
-
-
-
-
-
- Description |
- Image |
-
-
-
-
-
-
-
-
-
- HTML
+ fp << VISUAL_REPORT_TEMPLATE
end
end