spec/dummy/config/application.rb in locomotivecms-search-0.2.5 vs spec/dummy/config/application.rb in locomotivecms-search-0.2.6

- old
+ new

@@ -8,10 +8,10 @@ require "sprockets/railtie" require "rails/test_unit/railtie" Bundler.require(*Rails.groups) -search_engine = SEARCH_ENGINE || 'mongoid' +search_engine = defined?(SEARCH_ENGINE) ? SEARCH_ENGINE : 'mongoid' require "locomotive/search/#{search_engine}" module Dummy class Application < Rails::Application # Settings in config/environments/* take precedence over those specified here.