Sha256: 7a307e0b8815d93929c80d57e9611d016d52ef743f172e51dded8805ab3c15ea
Contents?: true
Size: 381 Bytes
Versions: 36
Compression:
Stored size: 381 Bytes
Contents
# encoding: utf-8 require File.expand_path("../spec_helper", File.dirname(__FILE__)) describe "unicode characters" do before :each do Sunspot.remove_all @post = Post.new(:title => "Híghgrøøvé") Sunspot.index!(@post) end it "correctly retrieves the string as UTF-8" do Sunspot.search(Post).hits.first.stored(:title).should == "Híghgrøøvé" end end
Version data entries
36 entries across 36 versions & 7 rubygems