Sha256: 3a151bbbe704c7f7325bc15a88bbed4b07daa89396a79132a4eeb13ca47681b5

Contents?: true

Size: 344 Bytes

Versions: 14

Compression:

Stored size: 344 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("In Picky 2.0+, the Similarity::Phonetic has been renamed to Similarity::DoubleMetaphone. Please use that one. Thanks!")
  end

end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
picky-2.5.2 spec/lib/internals/generators/similarity/phonetic_spec.rb
picky-2.5.1 spec/lib/internals/generators/similarity/phonetic_spec.rb
picky-2.5.0 spec/lib/internals/generators/similarity/phonetic_spec.rb
picky-2.4.3 spec/lib/internals/generators/similarity/phonetic_spec.rb
picky-2.4.2 spec/lib/internals/generators/similarity/phonetic_spec.rb
picky-2.4.1 spec/lib/internals/generators/similarity/phonetic_spec.rb
picky-2.4.0 spec/lib/internals/generators/similarity/phonetic_spec.rb
picky-2.3.0 spec/lib/internals/generators/similarity/phonetic_spec.rb
picky-2.2.1 spec/lib/internals/generators/similarity/phonetic_spec.rb
picky-2.2.0 spec/lib/internals/generators/similarity/phonetic_spec.rb
picky-2.1.2 spec/lib/internals/generators/similarity/phonetic_spec.rb
picky-2.1.1 spec/lib/internals/generators/similarity/phonetic_spec.rb
picky-2.1.0 spec/lib/internals/generators/similarity/phonetic_spec.rb
picky-2.0.0 spec/lib/internals/generators/similarity/phonetic_spec.rb