Sha256: 19a56dc3e70153392a32bbc45d542b26eedb28ac06d8300560d9caee58599700
Contents?: true
Size: 588 Bytes
Versions: 25
Compression:
Stored size: 588 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../../test_helper') describe ::Inch::API::Get do before do @codebase = test_codebase(:simple) end it "should work" do @object_names = ["Foo", "Foo::Bar"] @context = ::Inch::API::Get.new @codebase, @object_names assert_equal 2, @context.objects.size refute @context.object.nil? refute @context.grade_lists.empty? end it "should work with wildcard" do @object_names = ["Foo", "Foo::Bar#"] @context = ::Inch::API::Get.new @codebase, @object_names assert @context.objects.size > 2 end end
Version data entries
25 entries across 25 versions & 1 rubygems