spec/integration/rambling/trie_spec.rb in rambling-trie-0.9.0 vs spec/integration/rambling/trie_spec.rb in rambling-trie-0.9.1
- old
+ new
@@ -65,10 +65,10 @@
end
describe 'with words from a file' do
it_behaves_like 'a compressable trie' do
let(:filepath) { File.join ::SPEC_ROOT, 'assets', 'test_words.txt' }
- let(:words) { File.readlines(filepath).map &:chomp }
+ let(:words) { File.readlines(filepath).map &:chomp! }
let(:trie) { Rambling::Trie.create filepath }
end
end
end