Sha256: 58e9615c7e6adf4fbda6369c27621fda98cb43f6f8fdc6e6c74d4eb92ba72e21
Contents?: true
Size: 520 Bytes
Versions: 3
Compression:
Stored size: 520 Bytes
Contents
require 'acceptance/spec_helper' describe 'Updates to records in real-time indices', :live => true do it "handles fields with unicode nulls" do product = Product.create! :name => "Widget \u0000" Product.search.first.should == product end it "handles attributes for sortable fields accordingly" do product = Product.create! :name => 'Red Fish' product.update_attributes :name => 'Blue Fish' Product.search('blue fish', :indices => ['product_core']).to_a. should == [product] end end
Version data entries
3 entries across 3 versions & 1 rubygems