I moved these into an IntegrationHelpers module in spec_helper.