sunaku/testr — pull request #16 by jpablobr (2012-01-13 20:18:53+00:00)
Title: `testr` init error

Without the `watch_all_modifications: true` hash option parameter `Guard::Listener#select_and_init`, Guard was not able get initialized properly. The following was the error I was getting:

```
$ testr
testr: Type r then ENTER to run all test files.
testr: Type s then ENTER to stop running test files.
testr: Type p then ENTER to rerun passed test files.
testr: Type f then ENTER to rerun failed test files.
testr: Type o then ENTER to reabsorb overhead files.
testr: Type q then ENTER to quit.
/home/jpablobr/.rvm/gems/ruby-1.9.3-p0/gems/guard-0.10.0/lib/guard/listener.rb:68:in `initialize': undefined method `inject' for nil:NilClass (NoMethodError)
from /home/jpablobr/.rvm/gems/ruby-1.9.3-p0/gems/guard-0.10.0/lib/guard/listeners/linux.rb:10:in `initialize'
from /home/jpablobr/.rvm/gems/ruby-1.9.3-p0/gems/guard-0.10.0/lib/guard/listener.rb:44:in `new'
from /home/jpablobr/.rvm/gems/ruby-1.9.3-p0/gems/guard-0.10.0/lib/guard/listener.rb:44:in `select_and_init'
from /home/jpablobr/.rvm/gems/ruby-1.9.3-p0/gems/testr-14.1.2/bin/testr-herald:44:in `'
from /home/jpablobr/.rvm/gems/ruby-1.9.3-p0/bin/testr-herald:19:in `load'
from /home/jpablobr/.rvm/gems/ruby-1.9.3-p0/bin/testr-herald:19:in `

'
testr: Overhead absorbed. Ready for testing!
q
```
Please merge it in if you think it's appropriate.