Seems odd to define this helper method within the example -- why not move it out into the example group like we normally do?