I read about webrat and stories 30 mins ago - <a href="http://www.benmabey.com/2008/02/04/rspec-plain-text-stories-webrat-chunky-bacon/">http://www.benmabey.com/2008/02/04/rspec-plain-text-stories-webrat-chunky-bacon/</a> - good article.<br>
<br>Tim.<br><br><div><span class="gmail_quote">On 11/04/2008, <b class="gmail_sendername">Kamal Fariz</b> &lt;<a href="mailto:kamal.fariz@gmail.com">kamal.fariz@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&gt; When I create a user with foo=&quot;bar&quot;<br> &gt;<br> &gt; is better because it doesn&#39;t expose the implementation.&nbsp;&nbsp;Just the<br> &gt; model concept and any relevant attributes.<br> <br> <br>I hide model details from Stories by using webrat and form field labels.<br>
 <br> When I create a user with Username: kamal, Password: test<br> And click submit<br> <br> Seems safer that way as the views get tested at the same time.<br> <br> <br> Regards,<br> <br>kamal<br> <br>_______________________________________________<br>
 rspec-users mailing list<br> <a href="mailto:rspec-users@rubyforge.org">rspec-users@rubyforge.org</a><br> <a href="http://rubyforge.org/mailman/listinfo/rspec-users">http://rubyforge.org/mailman/listinfo/rspec-users</a><br>
 </blockquote></div><br>