How can i import active admin controllers to my active support test?

I want to use this at my test file:


but it says:

NameError: uninitialized constant Admin::PostsController
    /media/mydata/projects/proj/test/proj_test.rb:23:in `test_activ'

I suppose it has failed to import PostsController. How can I do that?

Note: from rails console I can access:


`Also asked at #stackoverflow: