This may be a naive question, but does RSpec's testing DSL violate the law of Demeter?
Here's an example of the RSpec DSL from http://rspec.info:
bowling.score.should eq(0)
From a Demeter perspective, this seems to me indistinguishable from this example:
user.department.try(:name)
which according to Avdi Grimm is a violation of the Law of Demeter.
Source: http://devblog.avdi.org/2011/07/05/demeter-its-not-just-a-good-idea-its-the-law/