A simple example of how to set-up/tear down Elasticsearch indices before/after Rspec examples.
Written for ElasticSearch勉強会 第1回
To run tests
-
rake db:migrate RAILS_ENV=test
-
Start Elasticsearch on localhost:9200
-
bundle exec rspec
A simple Rails app showing how to use Rspec with Elasticsearch/Tire
A simple example of how to set-up/tear down Elasticsearch indices before/after Rspec examples.
Written for ElasticSearch勉強会 第1回
rake db:migrate RAILS_ENV=test
Start Elasticsearch on localhost:9200
bundle exec rspec
A simple Rails app showing how to use Rspec with Elasticsearch/Tire