that worked! thanks David, your help is much appreciated
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
On Thu, Jul 30, 2009 at 6:13 PM, norm wrote:
> I have two models:
> Student has_many=>:grad_surveys
> and
> GradSurvey belongs_to=>:student
>
> I am testing the GradSurveysController#update method with
>
> it "should only allow update if the correct token is presented" do
> �...@params = {:
I have two models:
Student has_many=>:grad_surveys
and
GradSurvey belongs_to=>:student
I am testing the GradSurveysController#update method with
it "should only allow update if the correct token is presented" do
@params = {:id=>"1", :token=>"ab56e1b47", :survey=>{}}
@mock_grad_s