rspec-rails

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

Ruby

RSpec for Rails 5+

#before_n_times

No Docs, write some!

Source | Google | Stack overflow

Edit

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

cd rspec-rails

open benchmarks/before_block_capture_block_vs_yield.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs--before_n_times-for-pr


# Commit to git

git add benchmarks/before_block_capture_block_vs_yield.rbgit commit -m "better docs for #before_n_times"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs--before_n_times-for-pr

hub pull-request


# Celebrate!