spec/jsus/util/tree_spec.rb in jsus-0.3.6 vs spec/jsus/util/tree_spec.rb in jsus-0.4.0
- old
+ new
@@ -102,12 +102,12 @@
subject.root.children[0].full_path.should == "/hello"
subject.root.children[0].value.should == "world"
end
it "should allow tags for nodes insertion" do
- subject.insert(Jsus::Tag["hello"], "world")
- subject.root.children[0].full_path.should == "/hello"
+ subject.insert(Jsus::Tag["Hello"], "world")
+ subject.root.children[0].full_path.should == "/Hello"
subject.root.children[0].value.should == "world"
end
end
describe "#lookup" do
@@ -272,6 +272,6 @@
subject.leaves(false).should =~ nodes
end
end
-end
\ No newline at end of file
+end