testing - Where to put test implementation classes in Rails? -
I have a class in lib in which it has some application logic, Implementation which will be used in automated functional tests. Is this a good place where I can keep this class? Ideally I do not want to load it while running a web site in production.
If there is an application logic in class in lib / Xyz .
If you want to make a dummy subclass or a duck type for testing, put it in your test-file.
Comments
Post a Comment