Sha256: acf40a5b6bd6334e9b446b47094dfffe0acedd904e899979bad8275126ce43ae

Contents?: true

Size: 455 Bytes

Versions: 9

Compression:

Stored size: 455 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/spec_helper')

describe Neo4jr::ReturnableEvaluator do
  it 'should alias class with class Return' do
    Neo4jr::Return::ALL.should == Neo4jr::ReturnableEvaluator::ALL
    
  end
  
  it 'should create dynamic evaluators on the fly' do
    dynamic_evaluator = Neo4jr::Return.when do |postion|
      true if postion == :test
    end
    dynamic_evaluator.isReturnableNode(:test).should == true
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
neo4jr-simple-0.2.2 spec/returnable_evaluator_spec.rb
neo4jr-simple-0.2.1 spec/returnable_evaluator_spec.rb
neo4jr-simple-0.2.0 spec/returnable_evaluator_spec.rb
neo4jr-simple-0.1.8 spec/returnable_evaluator_spec.rb
neo4jr-simple-0.1.7 spec/returnable_evaluator_spec.rb
neo4jr-simple-0.1.6 spec/returnable_evaluator_spec.rb
neo4jr-simple-0.1.5 spec/returnable_evaluator_spec.rb
neo4jr-simple-0.1.3 spec/returnable_evaluator_spec.rb
neo4jr-simple-0.1.0 spec/returnable_evaluator_spec.rb