Sha256: 1911c9dc7fb00529cb2762f2fa421dc0549ba31f097af7705b26edc03b169f00
Contents?: true
Size: 760 Bytes
Versions: 4
Compression:
Stored size: 760 Bytes
Contents
require 'bundler/setup' require 'rspec' require 'vcr' require 'awesome_print' require 'elastic/site-search' RSpec.configure do |config| # Run specs in random order to surface order dependencies. If you find an # order dependency and want to debug it, you can fix the order by providing # the seed, which is printed after each run. # --seed 1234 config.order = "random" VCR.configure do |c| c.default_cassette_options = { :record => :once, :match_requests_on => [:host, :path, :method] } c.cassette_library_dir = 'spec/fixtures/vcr' c.hook_into :webmock end config.before :each do Elastic::SiteSearch.endpoint = "http://hello:@localhost:3000/api/v1/" end config.after :each do Elastic::SiteSearch.reset end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
elastic-site-search-3.0.1 | spec/spec_helper.rb |
elastic-site-search-2.2.0 | spec/spec_helper.rb |
elastic-site-search-2.1.0 | spec/spec_helper.rb |
elastic-site-search-2.0.0 | spec/spec_helper.rb |