On 10.4.2008, at 6.20, Tim Haines wrote:
Thanks Pat and David. I'm implementing paging (via will_paginate) and thought I should start with a story. I think I grok what you're saying Pat - the stories should only be looking at "externally" visible stuff - i.e. what a real user can see or do.. That's why you consider controller.send("current_user=",..) a bit hacky right?

Yes. Just create a given that goes through the normal logging process. You can parameterize it so that you can reuse it with different roles.

//jarkko

--
Jarkko Laine
http://jlaine.net
http://dotherightthing.com
http://www.railsecommerce.com
http://odesign.fi


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to