Sha256: c318761c2ae620b991f2fc7b588fc4e7545482ea688bbaa566a1e3d07f43010c

Contents?: true

Size: 280 Bytes

Versions: 19

Compression:

Stored size: 280 Bytes

Contents

require 'sunspot/rails/spec_helper'

Spec::Runner.configure do |config|
  config.before(:each) do
    ::Sunspot.session = ::Sunspot::Rails::StubSessionProxy.new(::Sunspot.session)
  end

  config.after(:each) do
    ::Sunspot.session = ::Sunspot.session.original_session
  end
end

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
crystal-ext-0.0.3 lib/sunspot/spec_helper.rb
crystal-ext-0.0.2 lib/sunspot/spec_helper.rb
crystal-ext-0.0.1 lib/sunspot/spec_helper.rb
rails-ext-0.3.29 lib/sunspot/spec_helper.rb
rails-ext-0.3.28 lib/sunspot/spec_helper.rb
rails-ext-0.3.27 lib/sunspot/spec_helper.rb
rails-ext-0.3.25 lib/sunspot/spec_helper.rb
rails-ext-0.3.24 lib/sunspot/spec_helper.rb
rails-ext-0.3.23 lib/sunspot/spec_helper.rb
rails-ext-0.3.22 lib/sunspot/spec_helper.rb
rails-ext-0.3.21 lib/sunspot/spec_helper.rb
rails-ext-0.3.20 lib/sunspot/spec_helper.rb
rails-ext-0.3.19 lib/sunspot/spec_helper.rb
rails-ext-0.3.18 lib/sunspot/spec_helper.rb
rails-ext-0.3.17 lib/sunspot/spec_helper.rb
rails-ext-0.3.16 lib/sunspot/spec_helper.rb
rails-ext-0.3.15 lib/sunspot/spec_helper.rb
rails-ext-0.3.14 lib/sunspot/spec_helper.rb
rails-ext-0.3.13 lib/sunspot/spec_helper.rb