I read about webrat and stories 30 mins ago - http://www.benmabey.com/2008/02/04/rspec-plain-text-stories-webrat-chunky-bacon/- good article.
Tim. On 11/04/2008, Kamal Fariz <[EMAIL PROTECTED]> 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. > > > Regards, > > kamal > > _______________________________________________ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >
_______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users