I have a helper module named "AppHelper" and private method "sum" which I want to test using rspec.
For example:
module AppHelper private def sum(a,b) puts a+b end end
Aucun commentaire:
Enregistrer un commentaire