Try this

I usually don't bother writing controller tests unless its a JSON API. If it's rendering HTML, I typically write feature specs.

Take a look at the example I wrote.