On Tue, Mar 31, 2009 at 12:11 PM, Fernando Perez <[email protected]> wrote: > >>> Do I have to rewrite my return values to always return true or false? >> No, but you may have to use different matchers. What are you using? > > I use: should be_false > > Rspec complains it receives nil when it is expecting false.
As would be expected. What is the full expression? i.e. what is it that should be false (or nil)? > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > rspec-users mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/rspec-users > _______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
