I'm a newcomer to the list. Appologies if this has been discussed before,
but all I could find with regards to specing scopes relates to those that
filter records or apply sorting. What's the best way to spec a scope that
uses the includes method? For instance:
class Location < ActiveRecord.Base
> I am new to test-driven development and rspec, so I am writing an
> application[1] to practice.
Me too, so the advice I offer below should be taken in that light. Less
advice and more, "What I think I kind of figured out."
> One of the patterns I am trying to
> implement is from Ryan Bates' c