Sha256: c7ea7f1e7228e88b69bc678cd31f9ed46d794efaed60a5b768622c5d98dad561
Contents?: true
Size: 524 Bytes
Versions: 3
Compression:
Stored size: 524 Bytes
Contents
$LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require 'neo4jr-social' require 'spec' require 'spec/autorun' require 'rack/test' # Neo4jr::Configuration.database_path = File.join(File.expand_path(File.dirname(__FILE__)), 'test-imdb-database') # puts Neo4jr::Configuration.database_path Spec::Runner.configure do |config| include Rack::Test::Methods def app Neo4jr::Service end def response_to_ruby JSON.parse(last_response.body) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
neo4jr-social-0.3.1 | spec/spec_helper.rb |
neo4jr-social-0.2.0 | spec/spec_helper.rb |
neo4jr-social-0.1.2 | spec/spec_helper.rb |