Sha256: 5156195744d941a201a7da4f931f1b6b3f394d1558021b8f805cda00c3bf55b7

Contents?: true

Size: 501 Bytes

Versions: 8

Compression:

Stored size: 501 Bytes

Contents

require 'spec_helper'

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

describe UglyFace::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

8 entries across 8 versions & 1 rubygems

Version Path
ugly_face-0.8 spec/lib/customization_spec.rb
ugly_face-0.7 spec/lib/customization_spec.rb
ugly_face-0.6 spec/lib/customization_spec.rb
ugly_face-0.5 spec/lib/customization_spec.rb
ugly_face-0.4 spec/lib/customization_spec.rb
ugly_face-0.3 spec/lib/customization_spec.rb
ugly_face-0.2 spec/lib/customization_spec.rb
ugly_face-0.1 spec/lib/customization_spec.rb