Andrew Premdas wrote: > Doing this for Restful-Authentication I add the following in > features/support/env.rb > > # Make visible for testing > ApplicationController.send(:public, :logged_in?, :current_user, > :authorized?) >
Forgive my ignorance but would you do me the favour of explaining exactly what this does? I can guess but I would rather have a clear understanding of how this construct works so that I can generalize its application. Regards, -- Posted via http://www.ruby-forum.com/. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users