[rspec-users] Should deleting code require failing specs?

David Chelimsky dchelimsky at gmail.com
Wed Jul 15 18:21:38 EDT 2009

On Wed, Jul 15, 2009 at 5:03 PM, Adam Anderson<adamandersonis at gmail.com> wrote:
> Sometimes when features are asked to be removed it doesn't make sense to
> specify that they shouldn't be there. It seems to me that removing something
> from a tested app should not entail writing a failing spec for that change.
> I'm curious if people have different opinions or insights on this.
> -Adam

I'd generally not spec the absence of a pre-existing feature, but I
think it depends on the nature of the app and the associated risk of
clients (human or other systems) trying to access services that no
longer exist.

More information about the rspec-users mailing list