[rspec-users] Checking for Range

Andrew WC Brown omen.king at gmail.com
Sun May 27 14:58:17 EDT 2007


how would you check for a range using rspec?

person.password.range.should == Range.new(5..40) <- this doesn't work
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070527/4d8cb007/attachment-0001.html 


More information about the rspec-users mailing list