[rspec-users] How to write specification for the *base* class API?
lists at ruby-forum.com
Tue Jul 15 05:17:23 EDT 2008
For the base class, it seems reasonable to specify public API with
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
How to deal with it? What is THE RSpec way to specify APIs when we face
Posted via http://www.ruby-forum.com/.
More information about the rspec-users