Created
October 1, 2016 04:07
-
-
Save myronmarston/f14e41eb411e34c6424b07accc40260d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RSpec.configure do |rspec| | |
if ENV["CI"] | |
rspec.before(:example, :focus) do | |
raise "Do not commit examples tagged with :focus" | |
end | |
else | |
rspec.filter_run_when_matching :focus | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment