RSpec is getting too intimate with my code | opensoul.org

Updated . Posted . Visible to the public.

What if my controller decides to take the Thing.create! and rescue route? What if my model has a special initializer method, like Thing.build_with_foo? My spec for behavior should not fail if I change the implementation.

Last edit
Keywords
rspec, testing
License
Source code in this card is licensed under the MIT License.
Posted by Lexy to makandra dev (2009-09-07 12:38)