ruby-on-rails,testing,controller,rack-test
I'm not exactly sure if this is why it's still around, but pre-REST, a lot of apps used the same endpoint for new and create. (Like, you might have a controller with a new_review action, and if you hit it with a GET, it'd show the review form, and if...
ruby,unit-testing,sinatra,rack-test
The test method has to be named test_root for the test to be run. Otherwise it's just a private method and won't be called unless it's called by an test_ method.