spec/arborist/node/root_spec.rb in arborist-0.4.0 vs spec/arborist/node/root_spec.rb in arborist-0.5.0
- old
+ new
@@ -23,9 +23,12 @@
it "doesn't allow a parent to be set on it" do
node.parent( 'supernode' )
expect( node.parent ).to be_nil
end
+ it "knows its family catagorization" do
+ expect( node.family ).to eq( :root )
+ end
it "immediately transitions to up when re-enabled" do
expect( node ).to be_up
node.acknowledge(