I am trying to figure out how to properly test a view when part of the
view is is protected with a role check <% if current_user.admin? %>..
How do I force a log in or mock the current user. I need to do it in a
DRY way as this is used throughout the system checking various
privileges.
D
Can someone tell me the difference ins the gem versions and the plugin
versions? do they work together? need both?
Don French
On Oct 3, 2008, at 3:14 AM, [EMAIL PROTECTED] wrote:
Send rspec-users mailing list submissions to
rspec-users@rubyforge.org
To subscribe or unsubscribe via th
I have been using ZenTest AutoTest with the previous version of rspec-
rails. When I updated to 1.1.5 the autotest just hangs. Are these
compatible?
Don French
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listin