[rspec-users] Stories - Use view matchers rather than assigns.should?
tmhaines at gmail.com
Thu Apr 10 22:51:17 EDT 2008
I read about webrat and stories 30 mins ago -
On 11/04/2008, Kamal Fariz <kamal.fariz at gmail.com> wrote:
> > When I create a user with foo="bar"
> > is better because it doesn't expose the implementation. Just the
> > model concept and any relevant attributes.
> I hide model details from Stories by using webrat and form field labels.
> When I create a user with Username: kamal, Password: test
> And click submit
> Seems safer that way as the views get tested at the same time.
> rspec-users mailing list
> rspec-users at rubyforge.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rspec-users