rubocop-rspec
https://github.com/rubocop/rubocop-rspec
Ruby
Code style checking for RSpec files
RuboCop::Cop::RSpec::StringAsInstanceDoubleConstant#autocorrect
No Docs, write some!
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 branchgit checkout -b -your-name--update-docs-RuboCop--Cop--RSpec--StringAsInstanceDoubleConstant-autocorrect-for-pr
# Commit to gitgit add lib/rubocop/cop/rspec/string_as_instance_double_constant.rbgit commit -m "better docs for RuboCop::Cop::RSpec::StringAsInstanceDoubleConstant#autocorrect"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-RuboCop--Cop--RSpec--StringAsInstanceDoubleConstant-autocorrect-for-pr
hub pull-request
# Celebrate!