Squashes warning raised by controller specs

[Fixes #785]