Skip to content

Commit

Permalink
rspec fix
Browse files Browse the repository at this point in the history
  • Loading branch information
karabijavad committed Nov 29, 2013
1 parent 6456640 commit 77ef235
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions spec/unit/rest/relationship_indexes_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@ class Rest
"value" => "value",
"type" => "type",
"start" => "http://configuration/node/42",
"end" => "http://configuration/node/43"
"end" => "http://configuration/node/43",
"properties" => "properties"
}
connection.should_receive(:post).with("/index/relationship/some_index?unique", json_match(:body, expected_body))
subject.create_unique("some_index", "key", "value", "type", "42", "43")
subject.create_unique("some_index", "key", "value", "type", "42", "43", "properties")
end

it "adds a relationship to an index" do
Expand Down

0 comments on commit 77ef235

Please sign in to comment.