Add a Rails integration test