Sha256: 2a79da59e5bc965a0fa4c983892b0df578ba2a512d74be05f433470b3a130816

Contents?: true

Size: 493 Bytes

Versions: 13

Compression:

Stored size: 493 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
      formatter.custom_suite_header?.should be_false
      formatter.custom_feature_header?.should be_false
      formatter.send(:logo_file).should be_nil
    end

  end

end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
pretty_face-0.10.2 spec/lib/customization_spec.rb
pretty_face-0.10.1 spec/lib/customization_spec.rb
pretty_face-0.10 spec/lib/customization_spec.rb
pretty_face-0.9.1 spec/lib/customization_spec.rb
pretty_face-0.9 spec/lib/customization_spec.rb
pretty_face-0.8.2 spec/lib/customization_spec.rb
pretty_face-0.8.1 spec/lib/customization_spec.rb
pretty_face-0.8 spec/lib/customization_spec.rb
pretty_face-0.7 spec/lib/customization_spec.rb
pretty_face-0.6.1 spec/lib/customization_spec.rb
pretty_face-0.6 spec/lib/customization_spec.rb
pretty_face-0.5 spec/lib/customization_spec.rb
pretty_face-0.4 spec/lib/customization_spec.rb