seattlerb/minitest — pull request #330 by rickmzp (2013-07-14 21:51:56+00:00)
Title: Add describe block names to method names so that selecting tests via -n is more useful

If you use `minitest/spec` with nested `describe` blocks, it becomes difficult to select tests by name since the describe block's name is not included in the generated method name. Example:

```ruby
describe Class do
describe "case A" do
it "is correct" {}
end

describe "case B" do
it "is correct" {}
end
end
```

**Before patch**
Runs no tests: `ruby test.rb --name /case A is correct/`
Runs no tests: `ruby test.rb --name /case B is correct/`
Runs no tests: `ruby test.rb --name /case/`
Runs both tests: `ruby test.rb --name /correct/`

**After patch**
Runs first test: `ruby test.rb --name /case A is correct/`
Runs second test: `ruby test.rb --name /case B is correct/`
Runs both tests: `ruby test.rb --name /case/`
Runs both tests: `ruby test.rb --name /correct/`