[rspec-users] Rspec test for correct file search

Sergey Qsut lists at ruby-forum.com
Sat Feb 5 22:30:11 EST 2011


Hi!
I wrote a method to locate the file on a given within a directory, the
name and line in it. How to test it? Tell me please, I have daily
headache with this problem..

def search(dir,name,line)
...
end

-- 
Posted via http://www.ruby-forum.com/.


More information about the rspec-users mailing list