<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Jul 1, 2008, at 2:10 AM, Pat Maddox wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>What do you see when you puts the values of end_date, start_date, and<br>Date.today inside of #percentage_complete?<br></div></blockquote></div><div><br></div><div>When run via TextMate/Rspec Bundle:</div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: 11px; ">Date.today = 2008-07-01</span></div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: 11px; ">self.start_date = 2008-06-26</span></div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: 11px; ">self.end_date = 2008-07-02</span></div><div><br></div><div>When run via 'rake spec:models'</div><div><div style="font-size: 11px; ">Date.today = 2008-07-01</div><div style="font-size: 11px; ">self.start_date = 0825-09-17</div><div style="font-size: 11px; ">self.end_date = 2008-07-02</div><div style="font-size: 11px; "><br></div><div style="font-size: 13px; ">Pretty obvious what the bug is suddenly, but would cause this?</div><div style="font-size: 13px; ">Come to think of it, I'd seen this before in rare random cases in other Date-based specs in the past, though currently everything else is passing.</div></div></body></html>