[rspec-users] spec template for CRUD?

Chris Hoffman chris.c.hoffman at gmail.com
Fri May 4 11:37:52 EDT 2007


Oh there is nothing wrong with the code, I just wonder if anyone has
actually taken it further and implemented the behaviours required to
exercise the CRUD operations in controllers (e.g., #show, #new, #edit,
etc.).

And as to sharing, I mean in a colloquial way, as in collaboration.

-Chris

On 5/4/07, David Chelimsky <dchelimsky at gmail.com> wrote:
> On 5/4/07, Chris Hoffman <chris.c.hoffman at gmail.com> wrote:
> > Hello,
> >
> > Has anyone already come up with a set of shared behaviours that
> > someone could leverage when adhering to a CRUD concept, with respect
> > to controllers?
> >
> > Relatedly, it would be nice if there were a way to share generalized
> > behaviour specs.
>
> Shared behaviours already allow you to do this, unless I'm missing
> your meaning. What is it that you're looking for that shared
> behaviours as/is doesn't cover?
>
> >
> > -Chris
> > _______________________________________________
> > rspec-users mailing list
> > rspec-users at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/rspec-users
> >
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list