Sha256: b60ddc6b342ba3ab9c22741d0a19a72b4bd990ce51765ecfb5acda3df22a7bde
Contents?: true
Size: 385 Bytes
Versions: 1
Compression:
Stored size: 385 Bytes
Contents
require 'test_helper' require 'smart_proxy_openscap/arf_html' class ArfHtmlTest < Test::Unit::TestCase def test_html_report obj = Proxy::OpenSCAP::ArfHtml.new obj.stubs(:file_path_in_storage).returns("#{Dir.getwd}/test/data/arf_report") html = obj.generate('consumer-uuid', 5, 523455, 'digest') assert html.start_with?('<!DOCTYPE'), "File should be html" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
smart_proxy_openscap-0.12.0 | test/arf_html_test.rb |