I was kindly granted commit access to the pdx.rb Subversion repository yesterday evening at the hack night, but due to using a borrowed laptop and a live CD for development, I wasn't able to get much done there.
I had a great time anyway, in the process of preventing the other
attendees from getting much work done with my inane chatter.
So, I thought I would follow through on my promise to write tests, to
demonstrate that I'm not completely useless. I've just committed the
unit tests. I hope to go back through and write functional tests
after I've cleaned up the models and generally familiarized myself
with the application a little better.
I also added some specific notes to doc/TODO.
In the process, I wrote what I believe is the best test method ever:
def test_find_upcoming
assert_equal([ events(:bens_high_school_prom) ], Event.find_upcoming)
end
Whoever came up with these fixtures: genius.
--
Keegan Quinn <[EMAIL PROTECTED]> http://keegan.sniz.org
q="'" qq='echo q=\"$q\" qq=$q$qq$q \&\& eval \$qq' && eval $qq
signature.asc
Description: Digital signature
_______________________________________________ PdxRuby-dev mailing list [email protected] http://lists.pdxruby.org/mailman/listinfo/pdxruby-dev
