On Thu, 2008-01-10 at 17:59 -0600, David Chelimsky wrote: > Another issue is BDD philosophy. BDD is about behaviour. should > have_many(:posts) is not behaviour. It is structure. I understand that > there are people who view this differently, and I would not want to > get in the way of anyone using that approach, but RSpec should not be > sporting conveniences, even very pragmatic ones, that fundamentally go > against the grain of BDD.
Out of interest, how would/do you test associations David? What if should have_many(:posts) tested the behaviour of the association rather than whether it's defined? -- Jonathan Leighton http://jonathanleighton.com/ _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users