> Who cares?  Just generate a TimeDimension record that has the properties
> you need for the particular test.  If that means saying Easter fell in
> December, that's perfectly OK. 

So your test is running fine when Easter fells in December...
and then you are going in production with your application,
you will have a lot of fun ;-))

Seriously, I too prefer to have some realistic test data and no
artificially
created test stubs, which have some assumptions about reality which
often fails...
phone numbers will always have seven digits and surnames will never
include a hyphen and Easter will always be in December....

My 2cts

Klaus

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to