spec/integration/riak/protobuffs_backends_spec.rb in riak-client-2.0.0 vs spec/integration/riak/protobuffs_backends_spec.rb in riak-client-2.1.0
- old
+ new
@@ -17,10 +17,10 @@
it_should_behave_like "Unified backend API"
describe "searching yokozuna" do
include_context "search corpus setup"
- it 'should return documents with UTF-8 fields (GH #75)' do
+ it 'returns documents with UTF-8 fields (GH #75)' do
utf8 = Encoding.find('UTF-8')
results = @backend.search @search_bucket.name, 'fearless elephant rushed', df: 'text'
results['docs'].each do |d|
d.each {|(k,v)| expect(k.encoding).to eq(utf8); expect(v.encoding).to eq(utf8) }
end