Evolve
Evolve

Reputation: 9193

Autospec does nothing when I run

I have failing tests that show up when I do a 'rake spec' 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)

Upvotes: 1

Views: 445

Answers (3)

Evolve
Evolve

Reputation: 9193

Since installing bundler/Rails 3, to run autospec the following command is needed:

$> bundle exec autospec

Upvotes: 1

Petrik de Heus
Petrik de Heus

Reputation: 970

You'll probably need to install autotest-rails

Upvotes: 0

tokland
tokland

Reputation: 67860

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.

Upvotes: 1

Related Questions