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

Version Path
erichummel-sunspot_rails-1.2.1g spec/session_spec.rb
erichummel-sunspot_rails-1.2.1f spec/session_spec.rb
erichummel-sunspot_rails-1.2.1e spec/session_spec.rb
erichummel-sunspot_rails-1.2.1d spec/session_spec.rb
erichummel-sunspot_rails-1.2.1c spec/session_spec.rb
erichummel-sunspot_rails-1.2.1b spec/session_spec.rb
erichummel-sunspot_rails-1.2.1a spec/session_spec.rb
sunspot_rails_rbg-1.3.1 spec/session_spec.rb
sunspot_rails_rbg-1.3.0 spec/session_spec.rb
ruben_sunspot_rails-1.1.4 spec/session_spec.rb
ruben_sunspot_rails-1.1.3 spec/session_spec.rb
ruben_sunspot_rails-1.1.2 spec/session_spec.rb
sunspot_rails_mongoid-1.2.1 spec/session_spec.rb
sunspot_rails-1.2.1 spec/session_spec.rb
sunspot_rails-1.2.0 spec/session_spec.rb
ruben_sunspot_rails-1.1.1 spec/session_spec.rb
ruben_sunspot_rails-1.1.0 spec/session_spec.rb
nuatt_sunspot_rails-1.1.0.3 spec/session_spec.rb
robsharp-sunspot_rails-1.1.0.2 spec/session_spec.rb
sunspot_rails-1.1.0 spec/session_spec.rb