How to test lib files in Rails?
Posted
by jerhinesmith
on Stack Overflow
See other posts from Stack Overflow
or by jerhinesmith
Published on 2010-03-17T15:20:13Z
Indexed on
2010/03/17
15:21 UTC
Read the original article
Hit count: 491
ruby-on-rails
|testing
I understand the benefit of putting classes, modules, etc. in the lib folder in Rails, but I haven't been able to find a clean way of testing these files. For the most part, it seems like unit tests would be the logical approach.
I guess my question is: What is the "rails way" for testing lib files?
© Stack Overflow or respective owner