Ruby/Rspec: should be_false vs should == false <p>Here's my code: </p> <pre><code>class Dictionary def entries @entries ||= {} end def add(hash) if hash.class == Hash hash.each_pair do |k, v| entries[k] = v end else makehash = {hash =&gt; nil} self.add(makehash) end @entries = entries end def keywords @entries.keys end def include?(k) if @entries == nil false elsif self.keywords.include?(k) true else false end end end </code></pre> <p>And here's the test I'm running it against:</p> <pre><code>require 'dictionary' describe Dictionary do before do @d = Dictionary.new end it 'can check whether a given keyword exists' do @d.include?('fish').should be_false end </code></pre> <p>Now, that test will fail. However, if I change it to </p> <pre><code> it 'can check whether a given keyword exists' do @d.include?('fish').should == false end </code></pre> <p>then it passes.</p> <p>How can I change my code so that <code>should be_false</code> passes instead of <code>should == false</code>? Thanks.</p>