changing to expect syntax in specs