Google Groups Home
Help | Sign in
shoulda + autotest
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Earle Clubb  
View profile
 More options Apr 9, 2:47 pm
From: Earle Clubb <ecl...@valcom.com>
Date: Wed, 09 Apr 2008 14:47:46 -0400
Local: Wed, Apr 9 2008 2:47 pm
Subject: shoulda + autotest
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 to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google