Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed the description of 'have_attribute_matcher' from 'has' to 'have' #108

Merged
merged 2 commits into from
Jun 16, 2013
Merged

Changed the description of 'have_attribute_matcher' from 'has' to 'have' #108

merged 2 commits into from
Jun 16, 2013

Conversation

matthodan
Copy link
Contributor

I changed the description of 'have_attribute_matcher' from 'has' to 'have' to be more consistent with descriptions used by other Rspec matchers. It also now reads as proper english when you view the spec output with flag '--format documentation'.

BEFORE:
it { should have_attribute(:email) }
=> should has attribute named email

AFTER:
it { should have_attribute(:email) }
=> should have attribute named email

@cgriego
Copy link
Owner

cgriego commented Jul 29, 2012

Good catch. You'll need to update the matcher's specs before I can merge this in.

@matthodan
Copy link
Contributor Author

Just added a commit with the updated matcher specs. Should be good to go.

cgriego added a commit that referenced this pull request Jun 16, 2013
Changed the description of 'have_attribute_matcher' from 'has' to 'have'
@cgriego cgriego merged commit 50ead37 into cgriego:master Jun 16, 2013
@cgriego
Copy link
Owner

cgriego commented Jun 16, 2013

Merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants