Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Commit

Permalink
Merge "neo4j unit test clean up" into services-r10
Browse files Browse the repository at this point in the history
  • Loading branch information
kushmerick authored and Gerrit Code Review committed Mar 31, 2012
2 parents 7acca15 + 308934c commit c9fcb39
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions neo4j/spec/neo4j_node_bind_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,12 @@ class Node
after :all do
EM.run do
begin
@node.shutdown()
EM.stop
@node.shutdown()
EM.stop
rescue
end
end
FileUtils.rm_rf(File.dirname(@opts[:base_dir]))
end

it "should have valid response" do
Expand Down
5 changes: 3 additions & 2 deletions neo4j/spec/neo4j_node_provision_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,12 @@ class Node
after :all do
EM.run do
begin
@node.shutdown()
EM.stop
@node.shutdown()
EM.stop
rescue
end
end
FileUtils.rm_rf(File.dirname(@opts[:base_dir]))
end

it "should have valid response" do
Expand Down

0 comments on commit c9fcb39

Please sign in to comment.