Sha256: c61f6de43274355c73146bd2390991387b61fcfdbf5d1976e0ca01167ec0f7ac
Contents?: true
Size: 337 Bytes
Versions: 5
Compression:
Stored size: 337 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe Neo4jr::DB do it 'should fail the transaction if an error happens and then propgate the original exception' do lambda{ Neo4jr::DB.execute do |neo| raise SystemCallError, 'testing' end }.should raise_error(SystemCallError) end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
neo4jr-simple-0.1.7 | spec/db_spec.rb |
neo4jr-simple-0.1.6 | spec/db_spec.rb |
neo4jr-simple-0.1.5 | spec/db_spec.rb |
neo4jr-simple-0.1.3 | spec/db_spec.rb |
neo4jr-simple-0.1.0 | spec/db_spec.rb |