One of my tests needs to be provided with a particular directory path. While I
can code this path as a literal directly in the test spec, it seems to me it
might be better to have it in a configuration file somewhere so that I have one
place to maintain it and look for it. Would spec_helper.rb
I think I would put it with the test. My logic is, if it breaks (needs to
change), the test will break. You will look there first to see what happened.
On Jan 23, 2013, at 12:54 PM, Jim Coble wrote:
> One of my tests needs to be provided with a particular directory path. While
> I can code t
On Wed, Jan 23, 2013 at 2:54 PM, Jim Coble wrote:
> One of my tests needs to be provided with a particular directory path.
> While I can code this path as a literal directly in the test spec, it seems
> to me it might be better to have it in a configuration file somewhere so
> that I have one pl