A much cleaner way of doing this is to do this where before the `get :index`.

```
test_cases = TestCase.where...

get :index, @params

assert_equal test_cases.count, assigns(:test_cases).count
```

Also, what is `assigns(:test_cases)`? Not sure what that does. Are those fixtures?