spec/spec_helper.rb in railsthemes-1.0.3 vs spec/spec_helper.rb in railsthemes-1.0.4
- old
+ new
@@ -5,8 +5,18 @@
require 'fakeweb'
RSpec.configure do |config|
config.mock_with :rr
config.include FakeFS::SpecHelpers
+
+ # 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
FakeWeb.allow_net_connect = false