Skip to content

Commit

Permalink
just making sure
Browse files Browse the repository at this point in the history
  • Loading branch information
maxdemarzi committed Feb 16, 2012
1 parent 9809d99 commit 8b6604f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions spec/integration/rest_node_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@
new_node = @neo.create_unique_node(index_name, key, value, {"age" => 31, "name" => "Max"})
new_node["data"]["name"].should == "Max"
new_node["data"]["age"].should == 31
new_node_id = new_node["self"].split('/').last
existing_node = @neo.create_unique_node(index_name, key, value, {"age" => 31, "name" => "Max"})
existing_node["self"].split('/').last.should == new_node_id
existing_node["data"]["name"].should == "Max"
existing_node["data"]["age"].should == 31
end

end
Expand Down

0 comments on commit 8b6604f

Please sign in to comment.