did you keep the /test folder within your app?
–
apneadivingNov 18 '11 at 10:12

@apneadiving Yip I have a /test folder. I tried setting up a new rails project with only the essential gems for testing and one simple test (1 == 1) and it still gives the same error.
–
MikeNov 20 '11 at 20:52

3

How would I get a stack trace from guard? Might be useful.
–
MikeNov 20 '11 at 20:52

2 Answers
2

This time, instead of seeing Starting Spork for Test::Unit & RSpec, I got Starting Spork for RSpec. So spork automatically recognised that my test folder was no longer needed and everything ran sweetly.

Interestingly enough the

Supported test frameworks:
( ) Cucumber
(*) RSpec

message also disappeared and I got exactly the expected results as per railscast.

Obviously I followed the Railscast instructions very closely but I seriously suggest that you look at deleting the test folder.

UPDATE
It should be noted that it is possible to get both to play nicely together as per the comment below from @yuvilio, a quote of which follows:

I don't think the issue is that they don't get along. I got Cucumber/Rspec/testunit to play nice with each other in spork. In my gemfile, in addition to rspec/cucumber/guard related gems, I added spork-testunit, guard-test, ruby-prof gems and ran bundle install. Then, I bootstrapped testunit: bundle exec spork testunit --bootstrap.Then customized test/test_helper.rb. Then updated the guard file watching for testunit: bundle exec guard init test. When I ran guard, I got output including Spork server for RSpec, Cucumber, Test::Unit successfully started

Your solution makes sense but I don't think the issue is that they don't get along. I got Cucumber/Rspec/testunit to play nice with each other in spork. In my gemfile, in addition to rspec/cucumber/guard related gems, I added spork-testunit, guard-test, ruby-prof gems and ran bundle install. Then, I bootstrapped testunit: bundle exec spork testunit --bootstrap.Then customized test/test_helper.rb. Then updated the guard file watching for testunit: bundle exec guard init test. When I ran guard, I got output including Spork server for RSpec, Cucumber, Test::Unit successfully started .
–
yuvilioMay 21 '12 at 17:15

That's a good point about test unit and spork not getting along, I'll point people to your comment in my answer. Most people don't need both though. The problems seem to occur for most when switching away from test unit to make use of the how I test Railscast. Thanks for the info
–
jameswMay 21 '12 at 18:34