Sha256: 0afb92174a6c30f1c5ed7ac4d990749e208a6d405ea5c866d6e17856242c906c

Contents?: true

Size: 749 Bytes

Versions: 1

Compression:

Stored size: 749 Bytes

Contents

require 'spec_helper'

describe Architect4r::Server do
  
  subject { TEST_SERVER }
  
  describe :execute_cypher do
    
    it "should return an array of nodes" do
      # nodes
      #results = subject.execute_cypher("start root = (#{subject.root_node.id}) match (root)-[r:model_root]->(x) return r")
      pending
    end
    
    it "should return an array of relationships" do
      # relations
      #results = subject.find_by_cypher("start root = (#{subject.root_node.id}) match (root)-[r:model_root]->(x) return r")
      pending
    end
    
    it "should the data unprocessed" do
      #results = subject.execute_cypher("start node = (0) return node,node.name?")
      #results.should_not be_empty
      pending
    end
    
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
architect4r-0.3.2 spec/core/cypher_methods_spec.rb