I'm starting to study about ruby / rspec following a book, but I'm not making progress using matcher be_true
.
The following is the error:
BagOfWords#push is possible to put words on it (FAILED - 1)
Failures:
1) BagOfWords#push is possible to put words on it
Failure/Error: expect(isTrue).to be_true
expected true to respond to 'true?'
# ./spec/bag_of_words_spec.rb:12:in 'block (3 levels) in <top (require d)>'
Finished in 0.015 seconds (files took 0.54403 seconds to load)
1 example, 1 failure
Failed examples:
rspec ./spec/bag_of_words_spec.rb:7 # BagOfWords#push is possible to put words on it