Question: If controller A's action redirects to another controller B's action, can I check in A's functional test that B's action template is being rendered?

in controller As functional test
i.e. assert\_template 'controllerB/some\_view'

I know that this should be done in controllers Bs tests but I'm wondering if it is technically possible?

**I have tried this in my own project but it's failing so I wanted to know if its actually impossible to avoid wasting any time hunting down invisible bugs.**

Answer: 
Rails functional tests do not follow redirects from one controller to another. To test this you need to use an integration test. The [Rails Guide for testing](http://guides.rubyonrails.org/testing.html) can help you get started with integration tests
```
test "current/index should render others/action template" do
  get :index
  assert_response :success
  assert_template "others/index"
end

```