Sha256: 508cc95bc804e2c97e33dd31e9c5770a3a36b97867b3b3d58deae32b5a4b9540
Contents?: true
Size: 374 Bytes
Versions: 8
Compression:
Stored size: 374 Bytes
Contents
require 'spec_helper' require 'nokogiri' describe Fdoc::ServicePresenter do subject { Fdoc::ServicePresenter.new(Fdoc::Service.new('spec/fixtures')) } context "#to_html" do it "should generate valid HTML" do html = subject.to_html expect { Nokogiri::HTML(html) { |config| config.strict } }.to_not raise_exception end end end
Version data entries
8 entries across 8 versions & 1 rubygems