Forum: RSpec Disabling rspec when using autotest

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Jamie D. (Guest)
on 2008-12-11 17:39
Hi,

I'm trying to get autotest working with an existing rails project. When
I run the autotest command in the rails root I get the following error:

loading autotest/rails_rspec
Autotest style autotest/rails_rspec doesn't seem to exist. Aborting.

The rails app itself isn't using rspec (we are using
Test::Unit/shoulda/mocha) and has no spec folder and the rspec plugin is
not installed in vendor/plugins. The rails app is using several plugins
that have rspec tests which I assume is the reason for the error.

Is there something I can put in an .autotest file in the rails app to
disable rspec completely?

Thanks
Jamie
Jamie D. (Guest)
on 2008-12-11 18:45
I found the culprit, subdomain-fu has lib/autotest and a spec folder, I
removed both and its now running.

Jamie
This topic is locked and can not be replied to.