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
Post a Comment