Sha256: 8fb937df0e650807b62a31aaa3a59efab298ce087e22a0ff501fef97f77bf13f
Contents?: true
Size: 590 Bytes
Versions: 2
Compression:
Stored size: 590 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(:ruby, :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 if present" do dir = fixture_path(:ruby, :"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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
inch-0.5.0.rc5 | test/unit/config/codebase_test.rb |
inch-0.5.0.rc4 | test/unit/config/codebase_test.rb |