Sha256: a8786abb636fbe7f789dd1d47b5295444c3734511cf14d4f702c4c2fe3eafdac

Contents?: true

Size: 284 Bytes

Versions: 1

Compression:

Stored size: 284 Bytes

Contents

require "spec_helper"

RSpec.describe Eman::Dictionary do

  describe '.find_similar' do
    it 'returns an array of similar words' do
      set_up_custom_dictionary

      array = Eman::Dictionary.find_similar('user')
      expect(array).to eq ['user', 'customer']
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
eman-0.0.3 spec/dictionary_spec.rb