Sha256: e62f33d0191672aafb0f0d90d03048c157770092cb8ded5fafe850fb4fc6afed

Contents?: true

Size: 211 Bytes

Versions: 4

Compression:

Stored size: 211 Bytes

Contents

describe 'indexing' do
  it 'should index non-multivalued field with newlines' do
    lambda do
      Sunspot.index!(Post.new(:title => "A\nTitle"))
    end.should_not raise_error(RSolr::RequestError)
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
sunspot-0.10.9 spec/integration/indexing_spec.rb
sunspot-0.10.8 spec/integration/indexing_spec.rb
nxa-sunspot-0.10.7 spec/integration/indexing_spec.rb
sunspot-0.10.7 spec/integration/indexing_spec.rb