Skip to content

Commit

Permalink
weird, works on my mac, just not travis
Browse files Browse the repository at this point in the history
  • Loading branch information
maxdemarzi committed Jun 18, 2013
1 parent 5a3a9d0 commit 5be8eb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/neography/rest/node_labels.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion spec/unit/rest/rest_labels_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

1 comment on commit 5be8eb5

@nateyu
Copy link

@nateyu nateyu commented on 5be8eb5 Nov 27, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

with name=%22max%22", there is a problem when the value is type of number

Please sign in to comment.