Sha256: 1114540ea0042b71806c93005329e0fa2039c2f14488ff271de2ff44450b6ef7
Contents?: true
Size: 312 Bytes
Versions: 37
Compression:
Stored size: 312 Bytes
Contents
require File.expand_path('../spec_helper', File.dirname(__FILE__)) 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
37 entries across 37 versions & 7 rubygems