I am Running rspec 2.11.1. I am trying to control the excessive number of 
backtrace lines (and also trying to 'understand'). Do you see what's going 
on? Thanks!

In troubleshooting, I've added these lines to my very simple spec:

require 'spec_helper'
> RSpec::configure do |c|
>   c.backtrace_clean_patterns << /gems\//
>   puts c.backtrace_clean_patterns
> end
>
> describe Participant do
>   it { Participant.find(1).guid.should_not be_blank }
> end


I run specs like this: 

repsurv(authent)> rspec spec/models/ 


My .rspec is:

--format documentation


The output of the puts is this (odd?)

(?-mix:\/lib\d*\/ruby\/)
> (?-mix:bin\/)
> (?-mix:gems)
> (?-mix:spec\/spec_helper\.rb)
> (?-mix:lib\/rspec\/(core|expectations|matchers|mocks))
> (?-mix:gems\/)



Yet, I am seeing lots of lines like this:

     # 
> /Users/pitosalas/.rvm/gems/ruby-1.9.3-p194@repeatsurvey/gems/rspec-core-2.11.1/lib/rspec/core/example_group.rb:361:in
>  
> `run'
>      # 
> /Users/pitosalas/.rvm/gems/ruby-1.9.3-p194@repeatsurvey/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in
>  
> `block (2 levels) in run'
>      # 
> /Users/pitosalas/.rvm/gems/ruby-1.9.3-p194@repeatsurvey/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in
>  
> `map'
>      # 
> /Users/pitosalas/.rvm/gems/ruby-1.9.3-p194@repeatsurvey/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:28:in
>  
> `block in run'
>      # 
> /Users/pitosalas/.rvm/gems/ruby-1.9.3-p194@repeatsurvey/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:34:in
>  
> `report'
>      # 
> /Users/pitosalas/.rvm/gems/ruby-1.9.3-p194@repeatsurvey/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in
>  
> `run'
>      # 
> /Users/pitosalas/.rvm/gems/ruby-1.9.3-p194@repeatsurvey/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in
>  
> `run'
>      # 
> /Users/pitosalas/.rvm/gems/ruby-1.9.3-p194@repeatsurvey/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in
>  
> `block in autorun'



-- 
You received this message because you are subscribed to the Google Groups 
"rspec" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/rspec/-/pvc9VUpzZt8J.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to