Sha256: 94f61b68cf29bb71b1400ec6fab0be82129af4f1f50d8bfc063042290cddfc1d

Contents?: true

Size: 413 Bytes

Versions: 27

Compression:

Stored size: 413 Bytes

Contents

require File.expand_path('spec_helper', File.dirname(__FILE__))

describe Sunspot::Rails::Searchable do
  describe '#searchable' do
    it "should register models with Sunspot.searchable (via Sunspot.setup)" do
      Sunspot.searchable.should_not be_empty
      Sunspot.searchable.should include(Author)
      Sunspot.searchable.should include(Blog)
      Sunspot.searchable.should include(Post)
    end
  end
end

Version data entries

27 entries across 27 versions & 7 rubygems

Version Path
sunspot_rails-2.0.0 spec/searchable_spec.rb
sunspot_rails-2.0.0.pre.130115 spec/searchable_spec.rb
substantial-sunspot_rails-2.0.0.pre.111215 spec/searchable_spec.rb
gojee-sunspot-rails-2.0.5 spec/searchable_spec.rb
sunspot_rails-2.0.0.pre.120925 spec/searchable_spec.rb
sunspot_solr-2.0.0.pre.120924 sunspot_rails/spec/searchable_spec.rb
sunspot_rails-2.0.0.pre.120924 sunspot_rails/spec/searchable_spec.rb
sunspot-2.0.0.pre.120924 sunspot_rails/spec/searchable_spec.rb
gojee-sunspot-rails-2.0.4 spec/searchable_spec.rb
gojee-sunspot-rails-2.0.2 spec/searchable_spec.rb
sunspot_rails-2.0.0.pre.120720 spec/searchable_spec.rb
sunspot_rails-1.3.3 spec/searchable_spec.rb
sunspot_rails-1.3.2 spec/searchable_spec.rb
sunspot_rails-2.0.0.pre.120417 spec/searchable_spec.rb
sunspot_rails-2.0.0.pre.120415 spec/searchable_spec.rb
sunspot_rails-1.3.1 spec/searchable_spec.rb
erichummel-sunspot_rails-2.0.0.pre.111215d spec/searchable_spec.rb
erichummel-sunspot_rails-2.0.0.pre.111215c spec/searchable_spec.rb
erichummel-sunspot_rails-2.0.0.pre.111215b spec/searchable_spec.rb
erichummel-sunspot_rails-2.0.0.pre.111215a spec/searchable_spec.rb