Hey, I’m wondering about the distinction between writing test methods
test “something to test” do
It seems like there’s no difference. I did notice, however, that #2
can’t be done in a class that extends Test::Unit::TestCase, while it can
be done in one that extends ActionController::TestCase. I also noticed
that #1 works for classes that extend either.
So which should I use? What is the difference?
Thanks in advance.