I have failing tests that show up when I do a 'rake spec'开发者_如何学Go or the like.
However when I run autospec it outputs the following then does nothing and returns me to the command prompt.
$ autospec
(Not running features. To run features in autotest, set AUTOFEATURE=true.) loading autotest/rails_rspec style: RailsRspec
How do I get autospec running?
The gems I have installed are:
autotest (4.3.2) autotest-growl (0.2.5) rspec (1.3.0) rspec-rails (1.3.2)
I once solved this problem removing the test
directory. Give it a try. Also run autospec -v
to see which paths he is looking at.
Since installing bundler/Rails 3, to run autospec the following command is needed:
$> bundle exec autospec
You'll probably need to install autotest-rails
精彩评论