Hello RSpec users!
I have one abstract class and a few classes that inherit from that
I’d like to test if my abstract class works with RSpec, but I can’t test
class (or can I?) and I don’t wanna test some particular class that
I wanna test general behaviour.
So I was just wondering. Can I use mocking somehow to create a subclass
base class, add some functionality in it and test methods of the base
Hope that makes sense.
â€œPerfection is achieved perfection not when
there is nothing left to add, but when there is
nothing left to take awayâ€
â€“ Antoine de Saint-Exupery