Spec for inline code in class