Skip to content

Add explicit access control tags to docs #1444

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

Merged
merged 1 commit into from
Aug 7, 2015
Merged

Add explicit access control tags to docs #1444

merged 1 commit into from
Aug 7, 2015

Conversation

ahacop
Copy link

@ahacop ahacop commented Aug 7, 2015

Prior to the commit, docs for both RSpec::Rails::Matchers#be_a_new and
RSpec::Rails::Matchers#be_new_record incorrectly indicated that the
methods were private.

This commit corrects this issue, following the pattern used here:
https://github.com/rspec/rspec-rails/blame/1fb6f9f642e887df1b1ee344594de02d7de3b3fe/lib/rspec/rails/matchers/have_http_status.rb#L329
(f6c277f)

Fixes #1413

Prior to the commit, docs for both RSpec::Rails::Matchers#be_a_new and
RSpec::Rails::Matchers#be_new_record incorrectly indicated that the
methods were private.

This commit corrects this issue, following the pattern used here:
https://github.com/rspec/rspec-rails/blame/1fb6f9f642e887df1b1ee344594de02d7de3b3fe/lib/rspec/rails/matchers/have_http_status.rb#L329
(f6c277f)

Fixes #1413
@JonRowe
Copy link
Member

JonRowe commented Aug 7, 2015

There's no harm in this but RDoc.info is running an out of date version of yard and therefore wrong, one of these actually renders ok already:

screen shot 2015-08-07 at 19 49 13

JonRowe added a commit that referenced this pull request Aug 7, 2015
@JonRowe JonRowe merged commit d339d7e into rspec:master Aug 7, 2015
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.

2 participants