Skip to content
Juanito Fatas edited this page Apr 1, 2015 · 2 revisions

If you want help make RSpec better, please fork the repository you want to improve and submit a pull request from a topic branch with the relevant changes. For example, let's say you want to refactor some code in rspec-core, and your GitHub account is 'jqpublic'. First you'd go to https://github.com/rspec/rspec-core in a browser and fork the repo. Then:

git clone [email protected]:jqpublic/rspec-core.git
cd rspec-core
git branch refactor-some-messy-code # use any name you like for the branch
gem install bundler
bundle install
# make sure everything's passing first
rspec
# now make changes to specs and implementation
# make sure everything's still passing
rspec
git commit -m "clean up some messy code"
git push origin refactor-some-messy-code

Once that's done, visit your fork in the browser, switch to the refactor-some-messy-code branch and submit a pull request.

Clone this wiki locally