These are chat archives for rebelidealist/stripe-ruby-mock

14th
Sep 2015
Louis-Michel Couture
@louim
Sep 14 2015 16:21

@kathyonu add

 c.filter_run focus: true
 c.run_all_when_everything_filtered = true

to your spec_helper.rb(inside the RSpec.configure do |c| block)

then add focus: true to the test you want to run.

kathyonu
@kathyonu
Sep 14 2015 17:50
@louim That is so sweet .. Thank You very much. It works ! You can use focus: true on 'describe' statements and 'it' statements, and when you run bundle exec rspec it runs only those tests with the focus. Perfect, this will definitely speed up the progress. :fire: