Skip to content

Commit

Permalink
added failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
David Raphael committed Apr 16, 2013
1 parent a2cdf54 commit 40e21d2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions spec/integration/rest_batch_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -465,14 +465,18 @@
{ :other => "what" }
]


# this does raise error
expect {
@neo.execute_query("start person_n=node:person(ssn = '000-00-0001')
set bar = {foo}",
{ :other => "what" })
}.to raise_exception Neography::SyntaxException

batch_result = @neo.batch *batch_commands

expect {
batch_result = @neo.batch *batch_commands
}.to raise_exception Neography::SyntaxException

end
end

Expand Down

0 comments on commit 40e21d2

Please sign in to comment.