Skip to content
This repository was archived by the owner on May 12, 2020. It is now read-only.

cb372/elasticsearch-rspec-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple example of how to set-up/tear down Elasticsearch indices before/after Rspec examples.

Written for ElasticSearch勉強会 第1回

To run tests

  1. rake db:migrate RAILS_ENV=test

  2. Start Elasticsearch on localhost:9200

  3. bundle exec rspec

About

A simple Rails app showing how to use Rspec with Elasticsearch/Tire

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published