Hello, I am having trouble to mock the chaining of named_scope in the controller, also I would like to use will_paginate.
def index @things = Thing.allowed_for(@current_user).available.paginate :page => params[:page] end ¿How to do it? Thanks Juanma Cervera -- Posted via http://www.ruby-forum.com/. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users