How to write a spec file for a following helper

module ArtistsHelper

def round_to(x)
    (self * 10**x).round.to_f / 10**x
end

end

Regards

salil
-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to