sineed / neo4j-rspec

MIT License
10 stars 13 forks source link

Neo4j::Rspec Build Status

This gem contains of several testing one-liners for neo4j gem.

Install

Add line into your Gemfile:

gem "neo4j-rspec"

or install it directly

gem install neo4j-rspec

Then configure it in your spec_helper (or rails_helper):

RSpec.configure do |config|
  config.include Neo4j::RSpec::Matchers
  # ... other configuration ...
end

Examples

ActiveNode matchers:

ActiveRel matchers:

Need yet another matcher?

Welcome! Feel free to post an issue. Contributions are welcome too.