Hi
    Can't say what happens only based on this. Anyway please change 
above to

 def test_should_create_county
     County.destroy_all
     assert_difference('County.count') do
       post :create, :county =>
 {:name=>"myname",:description=>"mydesc",:region_id=>"3" }
     end
     assert_redirected_to county_path(assigns(:county))
   end

Sijo
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to