Sha256: 0dfa17977ff56c11b81c3e1bddb03cfbcd789cb6af4cdf18b7a2cb43aa79f7d7

Contents?: true

Size: 244 Bytes

Versions: 55

Compression:

Stored size: 244 Bytes

Contents

describe 'stored fields' do
  before :all do
    Sunspot.remove_all
    Sunspot.index!(Post.new(:title => 'A Title'))
  end

  it 'should return stored fields' do
    Sunspot.search(Post).hits.first.stored(:title).should == 'A Title'
  end
end

Version data entries

55 entries across 55 versions & 13 rubygems

Version Path
Chrononaut-sunspot-client-0.9.4 spec/integration/stored_fields_spec.rb
UnderpantsGnome-sunspot-0.9.1.1 spec/integration/stored_fields_spec.rb
UnderpantsGnome-sunspot-0.9.8.1 spec/integration/stored_fields_spec.rb
benjaminkrause-sunspot-0.9.7 spec/integration/stored_fields_spec.rb
benjaminkrause-sunspot-0.9.8 spec/integration/stored_fields_spec.rb
kristopher-sunspot-0.9.8 spec/integration/stored_fields_spec.rb
kuahyeow-sunspot-0.9.7 spec/integration/stored_fields_spec.rb
kuahyeow-sunspot-0.9.8 spec/integration/stored_fields_spec.rb
outoftime-sunspot-0.9.0 spec/integration/stored_fields_spec.rb
outoftime-sunspot-0.9.1 spec/integration/stored_fields_spec.rb
outoftime-sunspot-0.9.2 spec/integration/stored_fields_spec.rb
outoftime-sunspot-0.9.3 spec/integration/stored_fields_spec.rb
outoftime-sunspot-0.9.4 spec/integration/stored_fields_spec.rb
outoftime-sunspot-0.9.5 spec/integration/stored_fields_spec.rb
outoftime-sunspot-0.9.6 spec/integration/stored_fields_spec.rb
outoftime-sunspot-0.9.7 spec/integration/stored_fields_spec.rb
outoftime-sunspot-0.9.8 spec/integration/stored_fields_spec.rb
erichummel-sunspot-1.2.1g spec/integration/stored_fields_spec.rb
erichummel-sunspot-1.2.1f spec/integration/stored_fields_spec.rb
erichummel-sunspot-1.2.1b spec/integration/stored_fields_spec.rb