search for: login_admin_user

Displaying 1 result from an estimated 1 matches for "login_admin_user".

2011 Dec 05
1
How to extend common helper methods to view specs?
Hi, there, I have some methods which I have written as helpers. They are in spec/support/controller_macros.rb (yes, I will change the name soon). The 2 methods, login_user and login_admin_user works in the controller specs BUT fail to work in the view specs when I call them in the view specs. ---------- spec/spec_helper.rb start -------------------------- # This file is copied to spec/ when you run ''rails generate rspec:install'' ENV["RAILS_ENV"] ||= '...