The current description for the HaveDbIndexMatcher could be prettified. Right now, we get something like this in the RSpec output:
should have a index on columns type
Notice the two space character between a and index. It should read:
should have an index on columns type
This patch on this branch fixes the issue. There are no tests for this minor fix, because this isn't a new feature, and because matcher descriptions don't seem to be tested anywhere else in the shoulda code. But I'll add them if you want them!
This looks useful - can you file a pull request over at shoulda-matchers? That's where all of the "real code" lives now. Shoulda has become just a meta-gem that depends on that code.