Forum: RSpec inheriting test cases vs. mixing them in

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.
5fbe9a552e00ab79ef99a83426ac3767?d=identicon&s=25 Alexy Khrabrov (braver)
on 2011-08-23 03:48
(Received via mailing list)
I've come across an interesting blog post showing how to inherit
tests:

http://benbiddington.wordpress.com/2010/11/06/rspe...

How does it stack against the usual mixing/shared_examples_for,
beautifully described in

http://blog.davidchelimsky.net/2010/11/07/specifyi...

I.e., what are the cases where you'd do inheritance vs. the usual
shared_examples_for?

Cheers,
Alexy
This topic is locked and can not be replied to.