What\'s the best way to unit test protected and private methods in Ruby, using the standard Ruby Test::Unit framework?
Test::Unit
I\'m sure somebody will pipe up a
To correct the top answer above: in Ruby 1.9.1, it's Object#send that sends all the messages, and Object#public_send that respects privacy.