On Wed, Mar 25, 2009 at 11:37 AM, Pietia <[email protected]> wrote:
> I have upgraded to 2.3.2 and changed updated everything inside
> myproject :
>
> This is my functional TEST :
>
> require 'test_helper'
>
> class Admin::ProjectsControllerTest < ActiveSupport::TestCase

You need "fixtures :projects" here.

>  def test_get_index
>    get :index
>    assert_response :success
>    assert_not_nil assigns(:projects)
>  end
>
> end


-- 
Greg Donald
http://destiney.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