Configure webmock to allow localhost connections for rake tasks run in test mode