[rspec-users] Specs failing when run outside Spork with TypeError: superclass mismatch for class Attribute

Jakub Arnold darthdeus at gmail.com
Mon Oct 31 05:59:53 EDT 2011


When I run my specs inside spork, they all just pass without any
problems, but once I try to run them without spork, I end up with

     Failure/Error: Unable to find matching line from backtrace
     TypeError:
       superclass mismatch for class Attribute

on each request spec.

Here's a gist with the whole stack trace, request specs &
spec_helper.rb https://gist.github.com/1327141

I'm running Rails 3.1.1 on Ruby 1.9.2


More information about the rspec-users mailing list