Thanks Andy for your help

On Thursday, December 13, 2012 5:05:45 PM UTC+2, Andy Lindeman wrote:
>
> On Thu, Dec 13, 2012 at 7:06 AM, Alex Leasenco 
> <[email protected]<javascript:>> 
> 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] <javascript:> 
> http://rubyforge.org/mailman/listinfo/rspec-users 
>

-- 
You received this message because you are subscribed to the Google Groups 
"rspec" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/rspec/-/xc-TTlI6gDsJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to