Try newer syntax to fix spec failing on CI