Sha256: c3c9cacdfdce98e2b299b0b19e0a92c7a13dbadfd381137ea027db805ef3fa7d
Contents?: true
Size: 428 Bytes
Versions: 3
Compression:
Stored size: 428 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe Neo4jr::EmbeddedNeo do it 'should retreive nodes by string' do lambda{ Neo4jr::DB.getNodeById("0") }.should_not raise_error end it 'accepts a hash when creating a node' do node_created = Neo4jr::DB.execute do |embedded_neo| embedded_neo.create_node(:a => 'b') end node_created[:a].should == 'b' end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
neo4jr-simple-0.1.7 | spec/embedded_neo_extension_spec.rb |
neo4jr-simple-0.1.6 | spec/embedded_neo_extension_spec.rb |
neo4jr-simple-0.1.5 | spec/embedded_neo_extension_spec.rb |