Sha256: 26affe71acb819c8a11a823028b87010a5e17b4c33ee4da999e6e51cbc22f116
Contents?: true
Size: 549 Bytes
Versions: 10
Compression:
Stored size: 549 Bytes
Contents
require 'spec_helper' describe Neography::Rest do before(:each) do @neo = Neography::Rest.new end describe "get_nodes", :slow => true do it "can get nodes that exists" do existing_nodes = @neo.get_nodes expect(existing_nodes).not_to be_nil end it "can get all nodes that exists the ugly way" do new_node = @neo.create_node last_node_id = new_node["self"].split('/').last.to_i existing_nodes = @neo.get_nodes((1..last_node_id).to_a) expect(existing_nodes).not_to be_nil end end end
Version data entries
10 entries across 10 versions & 3 rubygems