Signed-off-by: Federico Builes <firstname.lastname@example.org>
Shared specs are put in some_class/shared/method.rb file. Also, the convention on requires is require File.dirname(__FILE__) + '/shared/method'
Specifying exception messages, even as regexps, unduly limits implementations from providing better exception messages or messages in other languages while at the same time not adding anything of significant value to code correctness. The only exception (which probably should not be an exception) is in the specs for #raise.
…has been received.
…en scheduled and terminated.
…o race conditions, but it is a little more assurance.
We don't spec things as not existing. There is an infinite number of them. Example strings do not use 'should'. Both %x and do interpolation. If there is a difference between them, a spec should be written illustrating that.