jstorimer / spin

Spin speeds up your Rails testing workflow by preloading your Rails environment.

Home Page:http://jstorimer.github.com/spin/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incorrectly identifying RSpec testing suite

carlosramireziii opened this issue · comments

I am seeing the following error in my Rails 3.0.9 project:

no such file to load -- rspec/autorun (LoadError)

The issue originates from line 85 in spin.rb:

if defined?(RSpec)

My project is not using RSpec itself, but is using the rspec-expectations gem in conjunction with Test::Unit.

Is there some other way of testing for an RSpec testing suite. Perhaps it should be an explicit option when the spin server is started?

There is an explicit option to force RSpec to be used, perhaps we need the same thing for test/unit?

Yes that would work.