From 5be8eb5d00e0b40b258525be878b714bec4e13ec Mon Sep 17 00:00:00 2001 From: Max De Marzi Date: Mon, 17 Jun 2013 20:15:55 -0500 Subject: [PATCH] weird, works on my mac, just not travis --- lib/neography/rest/node_labels.rb | 2 +- spec/unit/rest/rest_labels_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/neography/rest/node_labels.rb b/lib/neography/rest/node_labels.rb index fe78a9c..b48ab16 100644 --- a/lib/neography/rest/node_labels.rb +++ b/lib/neography/rest/node_labels.rb @@ -7,7 +7,7 @@ class NodeLabels add_path :base, "/labels" add_path :node, "/node/:id/labels" add_path :nodes, "/label/:label/nodes" - add_path :find, "/label/:label/nodes?:property=\":value\"" + add_path :find, "/label/:label/nodes?:property=%22:value%22" add_path :delete, "/node/:id/labels/:label" def initialize(connection) diff --git a/spec/unit/rest/rest_labels_spec.rb b/spec/unit/rest/rest_labels_spec.rb index b0ede40..579e7a6 100644 --- a/spec/unit/rest/rest_labels_spec.rb +++ b/spec/unit/rest/rest_labels_spec.rb @@ -23,7 +23,7 @@ class Rest end it "find nodes for labels and property" do - connection.should_receive(:get).with("/label/person/nodes?name=\"max\"") + connection.should_receive(:get).with("/label/person/nodes?name=%22max%22") subject.find_nodes("person", {:name => "max"}) end