metaskills/minitest-spec-rails — pull request #4 by kamui (2012-05-18 18:50:30+00:00)
Title: Outer describe blocks instead of class definitions

This pull request lets you do:

```
# instead of class UserTest < ActiveSupport::TestCase
describe User
end

# instead of class UserControllerTest < ActionController::TestCase
describe UserController
end

# instead of class UserIntegrationTest < ActionDispatch::IntegrationTest
describe 'User Integration Test'
end
```

It also detects controller class name correctly when defined like this and sets the correct @controller and @routes, so you don't need to set it manually. It sets the correct @app for integration tests.