This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'spec_helper' | |
| #NOTE: The models found in this spec can be located in the associated dummy Rails app under "spec/dummy" | |
| describe 'Sunspot' do | |
| describe '::Neo4j', neo4j: true do | |
| shared_examples 'a searchable Neo4j model' do | |
| before(:each) do | |
| Recipe.destroy_all |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'sunspot' | |
| require 'sunspot/rails' | |
| # == Examples: | |
| # | |
| # class Post | |
| # include Neo4j::ActiveNode | |
| # field :title | |
| # | |
| # include Sunspot::Neo4j |