shoulda + autotest

0 views
Skip to first unread message

Earle Clubb

unread,
Apr 9, 2008, 2:47:46 PM4/9/08
to sho...@googlegroups.com
I'm trying to use autotest now in addition to shoulda, but I've hit a snag.  shoulda's model_class method in private_helpers.rb requires test case class names to end with 'Test', but autotest requires them to begin with 'Test'.  So how does one get around this?  Or am I missing something?  As a hack to get it to work, I changed the regex in model_class to look for 'Test' at the beginning instead of the end of the class name.

Thanks,
Earle
Reply all
Reply to author
Forward
0 new messages