Commit 66496271 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Additional tests for inheritdoc.

parent a5373fe0
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -68,6 +68,14 @@ describe JsDuck::Aggregator do
      classes["Child"][:members][:cfg].length.should == 1
    end

    it "detects the child config with correct tagname" do
      classes["Child"][:members][:cfg][0][:tagname] == :cfg
    end

    it "detects the child config with correct id" do
      classes["Child"][:members][:cfg][0][:id] == "cfg-blah"
    end

    it "detects no properties in child" do
      classes["Child"][:members][:property].length.should == 0
    end