dimanche 6 décembre 2015

How can I insert logs just in test environment in Rails?

I want to put some code ONLY in test environment, for example insert a line of log:

puts "Something in TEST"

What's the best way to do it?

Aucun commentaire:

Enregistrer un commentaire