Skip to content
Snippets Groups Projects
Commit ec4e6ad6 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Fix class tree tests.

parent eb2dfb30
No related branches found
No related tags found
No related merge requests found
......@@ -29,10 +29,6 @@ describe JsDuck::Tree do
@package = @tree[:children][0]
end
it "with id reflecting package name" do
@package[:id].should == "pkg-SamplePackage"
end
it "with text being package name" do
@package[:text].should == "SamplePackage"
end
......@@ -56,8 +52,8 @@ describe JsDuck::Tree do
@class[:isClass].should == true
end
it "with id being full class name" do
@class[:id].should == @full_class_name
it "with clsName being full class name" do
@class[:clsName].should == @full_class_name
end
it "with text being short class name" do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment