Rails : Where is the best place to put rspec files for modules in lib directory? -


i developing ruby modules in rails lib/ directory. don't know put rspec files them.

spec/lib/ directory doesn't seem best place.

'app/controller' -> 'spec/controllers' 'app/models'     -> 'spec/models' 'app/views'      -> 'spec/views'  'lib/'           -> '??(my question)'   

is there best practice?

i don't think there best practice, can see @ popular rails projects diaspora , discource use spec/lib , spec/components folders. so, guess practice enough.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -