Created
May 2, 2014 07:47
-
-
Save deepak/db594f513b6446e1405d to your computer and use it in GitHub Desktop.
lol_rspec.rb
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 |config| | |
config.around(:each) do |example| | |
# disabled by design | |
# example.call | |
end | |
end | |
__END__ | |
if i have the above rspec config in `spec_helper.rb` and i run a test | |
the test runner will always be green | |
hurray! we have monkeypatched Rspec |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment