Skip to content
Permalink
Browse files

adding a root node to add children to works

  • Loading branch information...
dhoss committed Jun 12, 2014
1 parent d36394d commit 34de49c808fdc6393853272ba059976691c96f51
Showing with 5 additions and 4 deletions.
  1. +5 −4 spec/treeify_spec.rb
@@ -30,14 +30,15 @@
end

describe "Modifying the tree" do
subject(:new_root) { Node.create(name: "new root node") }
it "adds a new child" do
expect(new_root.name).to eq("new root node")
end

it "updates a child" do
end
it "updates a child"

it "deletes a child"

it "deletes a child" do
end
end
end

0 comments on commit 34de49c

Please sign in to comment.
You can’t perform that action at this time.