where to put the unittest for library in rails
        Posted  
        
            by lidaobing
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by lidaobing
        
        
        
        Published on 2010-06-17T02:40:06Z
        Indexed on 
            2010/06/17
            2:42 UTC
        
        
        Read the original article
        Hit count: 282
        
ruby-on-rails
|unit-testing
Hello,
I am a ruby and rails newbie. And I am working on a rails application with RadRails. RadRails has a "Switch to Test" function for my controller, model, etc. but not for my library. if I have class Foo::Bar in /lib/foo/bar.rb, where should I put the unittest for it?
or should I separate the foo library in a separated project?
Thanks.
© Stack Overflow or respective owner