[rspec-users] sharing specs in a subclass

Jonathan Linowes
2008-01-23T04:49:20Z

Hi

I''ve spec''d a class and they pass.

Now I''d like to assure that any subclass of this class also passes
the same specs.
Any suggestions for a clever way to handle this?
I''d prefer to keep the existing specs as is (eg instead of moving
everything into shared behaviors, or doing something to all the
''describe'' lines)

thanks

linoj