On Nov 21, 12:40 am, Joshua Partogi <[email protected]> wrote: > > This is how my test code looks like: > assert_difference('Sprint.count') do > post(:create, :sprint => {:project_id => '9999', :goal => > 'Deliver usable product', > :start_date => '1900-01-01', :end_date > => '1901-01-01'}) > end > > Have I setup the test code wrong? What am I missing here? > That looks reasonable. What is in the controller / model ?
Fred > Thanks for the insights. > > -- > Certified Scrum > Masterhttp://blog.scrum8.com|http://jobs.scrum8.com|http://twitter.com/scrum8 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=.

