Sha256: 23cffda2cb6cef1aa2da838e0312e4b3a408ec841f6db2fed8a7f4305576f355

Contents?: true

Size: 505 Bytes

Versions: 1

Compression:

Stored size: 505 Bytes

Contents

require 'spec_helper'

module PrettyFace::Formatter
  class Html
    def customization_directory
      nil
    end
  end
end

describe PrettyFace::Formatter::Html do
  let(:formatter) { Html.new(nil, nil, nil) }

  context "when not customizing the report" do
    it "indicates that there are no custom components" do
      expect(formatter.custom_suite_header?).to be false
      expect(formatter.custom_feature_header?).to be false
      expect(formatter.send(:logo_file)).to be nil
    end

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pretty_face-0.10.3 spec/lib/customization_spec.rb