Sha256: 6c568436cd61a26433b894fc369a70f8a8347d5fa668a69e3ada56848b42a579

Contents?: true

Size: 265 Bytes

Versions: 2

Compression:

Stored size: 265 Bytes

Contents

# encoding: utf-8
shared_examples_for 'text processor' do
  it "should not raise error on empty string" do
    @processor.call('', {}).should == ''
  end

  it "should works with unicode" do
    @processor.call('Юникод', {}).should == 'Юникод'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rad_kit-0.0.10 spec/text_utils/text_processor_shared.rb
rad_kit-0.0.9 spec/text_utils/text_processor_shared.rb