rubocop-rspec

https://github.com/rubocop/rubocop-rspec

Ruby

Code style checking for RSpec files

RuboCop::Cop::RSpec::ClassCheck#preferred_method_name?

No Docs, write some!

Source | Google | Stack overflow

Edit

git clone [email protected]:rubocop/rubocop-rspec.git

cd rubocop-rspec

open lib/rubocop/cop/rspec/class_check.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-RuboCop--Cop--RSpec--ClassCheck-preferred_method_name--for-pr


# Commit to git

git add lib/rubocop/cop/rspec/class_check.rbgit commit -m "better docs for RuboCop::Cop::RSpec::ClassCheck#preferred_method_name?"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-RuboCop--Cop--RSpec--ClassCheck-preferred_method_name--for-pr

hub pull-request


# Celebrate!