[rspec-devel] view specs (was 'rspec stubbing')
dchelimsky at gmail.com
Wed Sep 27 23:18:07 EDT 2006
On 9/27/06, Dave Astels <dastels at daveastels.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> We need to integrate something like this into RSpec:
That's more or less where we're already headed w/ view specs. Right
now (in the trunk), when you do this:
script/generate rspec_controller Person list new create edit update
You get, in addition to the appropriate production files, specs for:
You can then use these expectations
to spec anything that goes in a view.
We have some work to do on this, like some more useful expectations.
But we're on the right path i believe.
More information about the rspec-devel