Sha256: bba634fb0aa845ef8a4eeecfef990bad6bc0b4582d9763191ef07f8437034f3e

Contents?: true

Size: 565 Bytes

Versions: 4

Compression:

Stored size: 565 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + "/../../test_helper")

describe ::Inch::Config::Codebase do
  it "should parse .inch.yml" do
    dir = fixture_path(:simple)
    config = Inch::Config::Codebase.new
    config.update_via_yaml(dir)
    assert config.included_files.empty?
    assert config.excluded_files.empty?
  end

  it "should parse .inch.yml" do
    dir = fixture_path(:"inch-yml")
    config = Inch::Config::Codebase.new
    config.update_via_yaml(dir)
    refute config.included_files.empty?
    refute config.excluded_files.empty?
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
inch-0.4.10 test/unit/config/codebase_test.rb
inch-0.4.9 test/unit/config/codebase_test.rb
inch-0.4.8 test/unit/config/codebase_test.rb
inch-0.4.7 test/unit/config/codebase_test.rb