For the base class, it seems reasonable to specify public API with
RSpec.

However, since we deal with a base class, methods are often empty (put
there just to show the API).

The spec cannot be run against the base class. In consequence, the spec
must be duplicated in every derived class, which seems to be far from
DRY.

How to deal with it? What is THE RSpec way to specify APIs when we face
inheritance?
-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to