spec/dummy/config/initializers/locomotive.rb in locomotivecms-search-0.1.0 vs spec/dummy/config/initializers/locomotive.rb in locomotivecms-search-0.2.0

- old
+ new

@@ -63,7 +63,8 @@ # } # If you do want to disable it for good, just use the following syntax # config.rack_cache = false # # Note: by default, rack/cache is disabled in the Heroku platform - Locomotive.config.search_engine = Rails.env.test? ? SEARCH_ENGINE : "mongoid" end + +require "locomotive/search/#{SEARCH_ENGINE || 'mongoid'}"