Railsチュートリアルの勉強中。
9.3.1 [Remember me] ボックスをテストする
統合テストではセッションを扱うことができないらしい。
セッションのテストは単体レベルで保証し、統合テストではブラックボックスとしてテストすべきという考えだろうか。
参考: The session is an internal structure for the controller. Integration test is more black box than controller tests were.