You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, the old Spec plugin's behavior of turning CamelCaseNames into Camel case names is still in effect. I don't really like this, but recognize it can be useful in spots when you're not actually describing a class per se.
Make it optional somehow -- just need an option which cascades down to camelcase2spec telling it to only do the prefix/suffix changes.
The text was updated successfully, but these errors were encountered:
Actually, an easy trick to getting over this is using a docstring for such classes. I'm really loving this spec addon, makes my test output so much prettier.
@fgimian Thanks! and yea, I tend to use docstrings as the workaround, though usually to get around truly unavoidable things like wanting apostrophes or such.
bendikro
added a commit
to bendikro/spec
that referenced
this issue
Jul 14, 2017
Right now, the old Spec plugin's behavior of turning
CamelCaseNames
intoCamel case names
is still in effect. I don't really like this, but recognize it can be useful in spots when you're not actually describing a class per se.Make it optional somehow -- just need an option which cascades down to
camelcase2spec
telling it to only do the prefix/suffix changes.The text was updated successfully, but these errors were encountered: