On Thu, Dec 13, 2012 at 7:06 AM, Alex Leasenco <[email protected]> wrote: > def view_task > @task = params[:task] > @back_to = view_path(@camp) > end > > Thanks
In your specs, these are accessible via assigns(:task) and assigns(:back_to) More details: <https://www.relishapp.com/rspec/rspec-rails/v/2-12/docs/controller-specs> -- Andy Lindeman http://www.andylindeman.com/ _______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
