Skip to content

Instantly share code, notes, and snippets.

@fletcherm
Created December 28, 2010 21:54
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save fletcherm/757775 to your computer and use it in GitHub Desktop.
Save fletcherm/757775 to your computer and use it in GitHub Desktop.
RSpec.configure do |config|
# RSpec automatically cleans stuff out of backtraces;
# sometimes this is annoying when trying to debug something e.g. a gem
config.backtrace_clean_patterns = [
/\/lib\d*\/ruby\//,
/bin\//,
/gems/,
/spec\/spec_helper\.rb/,
/lib\/rspec\/(core|expectations|matchers|mocks)/
]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment