[rspec-users] False Positives and Autotest on New Folders
geoffrey.wiseman at gmail.com
Wed Sep 5 13:11:24 EDT 2007
I just discovered how easy it was to create a false positive when I, trying
my first RSpec test, did this:
ob.should == 'foo'
As far as I can see, this is roughly equivalent to:
Neither eql?('foo') nor false causes the spec to fail; this is worrisome, as
I can imagine accidentally including that ? again; and I'd hate it to mask a
Out of curiosity, does anyone know how to get autotest to pick up new
folders under spec/? Seems like I might have to modify rails_rspec.rb in
lib/autotest. We were considering separating our acceptance tests from the
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rspec-users