Sha256: acfba9cb7ee5ef00d4bf1d14fd9c9db566b7bc3a9d5e11493ac9c04cd84ab6c3

Contents?: true

Size: 188 Bytes

Versions: 38

Compression:

Stored size: 188 Bytes

Contents

shared_examples_for 'indexed after save' do
  it 'should be indexed after save' do
    subject.save!
    Sunspot.commit

    subject.class.search.results.should include(subject)
  end
end

Version data entries

38 entries across 38 versions & 8 rubygems

Version Path
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/sunspot_rails-2.2.7/spec/shared_examples/indexed_after_save.rb
sunspot_rails-2.2.7 spec/shared_examples/indexed_after_save.rb
sunspot_rails-2.2.6 spec/shared_examples/indexed_after_save.rb
sunspot_rails-2.2.5 spec/shared_examples/indexed_after_save.rb
sunspot_rails-2.2.4 spec/shared_examples/indexed_after_save.rb
sunspot_rails-2.2.3 spec/shared_examples/indexed_after_save.rb
sunspot_rails-2.2.2 spec/shared_examples/indexed_after_save.rb
sunspot_rails-2.2.1 spec/shared_examples/indexed_after_save.rb
sunspot_rails-2.2.0 spec/shared_examples/indexed_after_save.rb
sunspot_rails-2.1.1 spec/shared_examples/indexed_after_save.rb
sunspot_rails-2.1.0 spec/shared_examples/indexed_after_save.rb
sunspot_rails-2.0.0 spec/shared_examples/indexed_after_save.rb
sunspot_rails-2.0.0.pre.130115 spec/shared_examples/indexed_after_save.rb
substantial-sunspot_rails-2.0.0.pre.111215 spec/shared_examples/indexed_after_save.rb
gojee-sunspot-rails-2.0.5 spec/shared_examples/indexed_after_save.rb
sunspot_rails-2.0.0.pre.120925 spec/shared_examples/indexed_after_save.rb
sunspot_solr-2.0.0.pre.120924 sunspot_rails/spec/shared_examples/indexed_after_save.rb
sunspot_rails-2.0.0.pre.120924 sunspot_rails/spec/shared_examples/indexed_after_save.rb
sunspot-2.0.0.pre.120924 sunspot_rails/spec/shared_examples/indexed_after_save.rb
gojee-sunspot-rails-2.0.4 spec/shared_examples/indexed_after_save.rb