Nope. Try 1/0 inside a sub-method - you won't get a stack trace to it, right?

Usually it does:

 >> def foo
 >>   1/0
 >>   end
=> nil
 >> def bar
 >>   foo
 >>   end
=> nil
 >> bar
ZeroDivisionError: divided by 0
   from (irb):43:in `/'
   from (irb):43:in `foo'
   from (irb):46:in `bar'
   from (irb):48

I don't see any RSpec above that in the call stack.


_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to