Sha256: 0071923c5d721a4ada09fb0c78af6d565771a8894c3b17df021b39fdd21e955c

Contents?: true

Size: 391 Bytes

Versions: 3

Compression:

Stored size: 391 Bytes

Contents

require 'letter_press_is_not_as_good_as_boggle/word_list'

describe LetterPressIsNotAsGoodAsBoggle::WordList do
  it 'knows all the words that were added to it' do
    word_list = LetterPressIsNotAsGoodAsBoggle::WordList.new
    word_list.words.should == []
    word_list << "abc"
    word_list << "abcd"
    word_list << "ecx"
    word_list.words.should == ["abc", "abcd", "ecx"]
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
letter_press_is_not_as_good_as_boggle-1.0.2 spec/word_list_spec.rb
letter_press_is_not_as_good_as_boggle-1.0.1 spec/word_list_spec.rb
letter_press_is_not_as_good_as_boggle-1.0.0 spec/word_list_spec.rb