[rspec-users] Testing Views with Authentication

2008-10-08 Thread Donald French
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

[rspec-users] Difference between gem and plugin

2008-10-03 Thread Donald French
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

[rspec-users] ZenTest Autotest and 1.1.5

2008-09-29 Thread Donald French
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