Sha256: 3564f07f92c09cf651672bebd53af5b0e94de9ce7890e19381ce0aa0cb76a157

Contents?: true

Size: 327 Bytes

Versions: 1

Compression:

Stored size: 327 Bytes

Contents

# encoding: utf-8
#
require 'spec_helper'

describe Internals::Generators::Similarity::Phonetic do

  it 'raises if you try to use Phonetic directly' do
    expect {
      described_class.new
    }.to raise_error("From Picky 2.0 on you need to use the DoubleMetaphone similarity instead of the Phonetic similarity.")
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
picky-2.0.0.pre3 spec/lib/internals/generators/similarity/phonetic_spec.rb