Sha256: 9bbde1842565bf9ad6e3017e7d628d1099a049daba9819eaa7e0af0fd030c3c4

Contents?: true

Size: 200 Bytes

Versions: 38

Compression:

Stored size: 200 Bytes

Contents

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

    subject.class.search.results.should_not 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/not_indexed_after_save.rb
sunspot_rails-2.2.7 spec/shared_examples/not_indexed_after_save.rb
sunspot_rails-2.2.6 spec/shared_examples/not_indexed_after_save.rb
sunspot_rails-2.2.5 spec/shared_examples/not_indexed_after_save.rb
sunspot_rails-2.2.4 spec/shared_examples/not_indexed_after_save.rb
sunspot_rails-2.2.3 spec/shared_examples/not_indexed_after_save.rb
sunspot_rails-2.2.2 spec/shared_examples/not_indexed_after_save.rb
sunspot_rails-2.2.1 spec/shared_examples/not_indexed_after_save.rb
sunspot_rails-2.2.0 spec/shared_examples/not_indexed_after_save.rb
sunspot_rails-2.1.1 spec/shared_examples/not_indexed_after_save.rb
sunspot_rails-2.1.0 spec/shared_examples/not_indexed_after_save.rb
sunspot_rails-2.0.0 spec/shared_examples/not_indexed_after_save.rb
sunspot_rails-2.0.0.pre.130115 spec/shared_examples/not_indexed_after_save.rb
substantial-sunspot_rails-2.0.0.pre.111215 spec/shared_examples/not_indexed_after_save.rb
gojee-sunspot-rails-2.0.5 spec/shared_examples/not_indexed_after_save.rb
sunspot_rails-2.0.0.pre.120925 spec/shared_examples/not_indexed_after_save.rb
sunspot_solr-2.0.0.pre.120924 sunspot_rails/spec/shared_examples/not_indexed_after_save.rb
sunspot_rails-2.0.0.pre.120924 sunspot_rails/spec/shared_examples/not_indexed_after_save.rb
sunspot-2.0.0.pre.120924 sunspot_rails/spec/shared_examples/not_indexed_after_save.rb
gojee-sunspot-rails-2.0.4 spec/shared_examples/not_indexed_after_save.rb