Estou começando a estudar sobre ruby/rspec seguindo um livro, mas não estou conseguindo progredir utilizando o matcher be_true
.
Segue abaixo o erro:
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
be_truthy
se for RSpec 3.