rubocop-rspec

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

Ruby

Code style checking for RSpec files

RuboCop::Cop::RSpec::StringAsInstanceDoubleConstant#on_send

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/string_as_instance_double_constant.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-RuboCop--Cop--RSpec--StringAsInstanceDoubleConstant-on_send-for-pr


# Commit to git

git add lib/rubocop/cop/rspec/string_as_instance_double_constant.rbgit commit -m "better docs for RuboCop::Cop::RSpec::StringAsInstanceDoubleConstant#on_send"


# 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--StringAsInstanceDoubleConstant-on_send-for-pr

hub pull-request


# Celebrate!