diff --git a/spec/integration/rest_path_spec.rb b/spec/integration/rest_path_spec.rb index 50d8559..d432f2e 100644 --- a/spec/integration/rest_path_spec.rb +++ b/spec/integration/rest_path_spec.rb @@ -44,11 +44,11 @@ rel3_4 = @neo.create_relationship("friends", new_node3, new_node4) rel4_5 = @neo.create_relationship("friends", new_node4, new_node5) rel3_5 = @neo.create_relationship("friends", new_node3, new_node5) - @neo.set_relationship_properties(rel1_2, {weight: 1}) - @neo.set_relationship_properties(rel2_3, {weight: 1}) - @neo.set_relationship_properties(rel3_4, {weight: 1}) - @neo.set_relationship_properties(rel4_5, {weight: 1}) - @neo.set_relationship_properties(rel3_5, {weight: 3}) + @neo.set_relationship_properties(rel1_2, {:weight => 1}) + @neo.set_relationship_properties(rel2_3, {:weight => 1}) + @neo.set_relationship_properties(rel3_4, {:weight => 1}) + @neo.set_relationship_properties(rel4_5, {:weight => 1}) + @neo.set_relationship_properties(rel3_5, {:weight => 3}) path = @neo.get_shortest_weighted_path(new_node1, new_node5, {"type"=> "friends", "direction" => "out"}) path.first["start"].should == new_node1["self"] path.first["end"].should == new_node5["self"]