#!/usr/bin/env rspec -cfd require_relative '../../../spec_helper' require 'stringio' require 'rspec/core/formatters/webkit' RSpec.describe RSpec::Core::Formatters::WebKit do let( :output ) { StringIO.new } it "renders a header when the run starts" do notification = instance_double( RSpec::Core::Notifications::StartNotification, count: 8, load_time: 0.245 ) formatter = described_class.new( output ) formatter.start( notification ) expect( output.string ).to include( '', '