Sha256: 90b9a1e38964982546c7568d7e0178b71d0ac0c03b15f2dd76691e75fac61f21
Contents?: true
Size: 687 Bytes
Versions: 33
Compression:
Stored size: 687 Bytes
Contents
require File.join(File.dirname(__FILE__), 'spec_helper') describe 'Sunspot::Rails session' do it 'should be a different object for each thread' do end it 'should create a separate master/slave session if configured' do end it 'should not create a separate master/slave session if no master configured' do end private def with_configuration(options) original_configuration = Sunspot::Rails.configuration Sunspot::Rails.reset Sunspot::Rails.configuration = Sunspot::Rails::Configuration.new Sunspot::Rails.configuration.user_configuration = options yield Sunspot::Rails.reset Sunspot::Rails.configuration = original_configuration end end
Version data entries
33 entries across 33 versions & 8 rubygems