Sha256: c34de5a4f205a7c29c3eafbfc57f929c4527821c7374f63a925e724c426cac64

Contents?: true

Size: 555 Bytes

Versions: 4

Compression:

Stored size: 555 Bytes

Contents

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

describe ::Inch::Codebase::Proxy do
  it "should parse all objects" do
    dir = fixture_path(:simple)
    config = Inch::Config::Codebase.new(["lib/**/*.rb"])
    @codebase = Inch::Codebase::Proxy.parse dir, config
    refute_nil @codebase.objects
  end

  it "should parse given paths" do
    dir = fixture_path(:simple)
    config = Inch::Config::Codebase.new(["app/**/*.rb"])
    @codebase = Inch::Codebase::Proxy.parse dir, config
    assert @codebase.objects.empty?
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
inch-0.4.10 test/unit/codebase/proxy_test.rb
inch-0.4.9 test/unit/codebase/proxy_test.rb
inch-0.4.8 test/unit/codebase/proxy_test.rb
inch-0.4.7 test/unit/codebase/proxy_test.rb