Writing specs for a module

I’m writing specs for a module for my Rails app. The module will live
in lib/ . For now, I’ve created the directory spec/lib/ to store the
specs for files in lib/ . However, I’m curious to know if there’s a
currently accepted location in which to store these types of specs.

Thanks,
Nick

On Wed, Sep 3, 2008 at 1:57 PM, Nick H. [email protected]
wrote:

I’m writing specs for a module for my Rails app. The module will live in
lib/ . For now, I’ve created the directory spec/lib/ to store the specs for
files in lib/ . However, I’m curious to know if there’s a currently accepted
location in which to store these types of specs.

That’s where I put them.

Pat

On Thu, Sep 4, 2008 at 4:26 AM, Pat M. [email protected] wrote:

On Wed, Sep 3, 2008 at 1:57 PM, Nick H. [email protected] wrote:

I’m writing specs for a module for my Rails app. The module will live in
lib/ . For now, I’ve created the directory spec/lib/ to store the specs for
files in lib/ . However, I’m curious to know if there’s a currently accepted
location in which to store these types of specs.

That’s where I put them.

Me too… so I guess that’s “currently accepted” :slight_smile: