Update grammar for HaveDbIndexMatcher#description #116

Closed
logicaltext opened this Issue Jul 22, 2010 · 1 comment

Projects

None yet

2 participants

@logicaltext

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!

@gabebw
Member
gabebw commented Mar 19, 2012

Hi!

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.

-- Gabe

@gabebw gabebw closed this Mar 19, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment