I came across this line of code today
def beCapitalizedAs(capitalized: String) = be_==(capitalized) ^^
It is defined on the specs2 Matcher trait and is meant to adapt one matcher to another.
This means you can change the actual value before doing the match, i.e. in your example
beCapitalizedAs will do the comparison on a capitalized String before match.
Also see the specs Matchers guide for further information.