Hi Sijo

Thank you

but Still i find the same error
Can you please say why this happens
Any idea

-- 
Karthik.k
Mobile - +91-9894991640

On Tue, Aug 4, 2009 at 12:22 PM, Sijo Kg
<[email protected]>wrote:

>
> 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