[rspec-users] Backtrace for passing specs via custom formatter

2008-11-21 Thread Andreas Wolff
Hi, I'm using example.implementation_backtrace in a custom formatter to get the path of the file a passing spec belongs to. Following rspec on github I saw that implementation_backtrace is now deprecated and replaced by example.backtrace. Sadly it always returns nil for passed specs. So I had a lo

Re: [rspec-users] Missing method implementation_backtrace

2008-11-24 Thread Andreas Wolff
On Fri, Nov 21, 2008 at 2:28 PM, aslak hellesoy <[EMAIL PROTECTED]> wrote: > How will people know that a method is part of an API? Can we simply say that > if it has RDoc it's part of the API and stable, and if it doesn't it's not? > (We can still RDoc non-API code, just put :nodoc: on it so it do

Re: [rspec-users] Missing method implementation_backtrace

2008-11-24 Thread Andreas Wolff
On Fri, Nov 21, 2008 at 2:28 PM, aslak hellesoy <[EMAIL PROTECTED]> wrote: > How will people know that a method is part of an API? Can we simply say that > if it has RDoc it's part of the API and stable, and if it doesn't it's not? > (We can still RDoc non-API code, just put :nodoc: on it so it do

[rspec-users] Testing a nested controller

2007-09-14 Thread Andreas Wolff
te Can anybody help here?? -- by(e) Andreas Wolff ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] Testing a nested controller

2007-09-14 Thread Andreas Wolff
1) testing the request by: get :show, :id => 1, :writer_id => 1 bye On 9/14/07, Andreas Wolff <[EMAIL PROTECTED]> wrote: > Hey everyone. > I really stuck on testing a nested controller. I'm trying to make a > request using get and afterwards checking the response

[rspec-users] Testing nested controller

2007-09-19 Thread Andreas Wolff
rewrite Can anybody help here?? -- by(e) Andreas Wolff ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

[rspec-users] Strange behaviour with pending specs and implementation_backtrace

2008-07-08 Thread Andreas Wolff
the implementation to: it 'should be pending' 'example.implementation_backtrace' doesn't contain the correct file path anymore. Instead the backtrace ends with my custom formatter file 'rspactor_formatter.rb'. Is this behaviour correct? Am I something miss

[rspec-users] Do you remember RSpactor?

2008-08-04 Thread Andreas Wolff
/now-on-stock-rspactor-0-9-16/. bye -- Andreas Wolff DynamicDudes Lightweight Ruby on Rails application development http://dynamicdudes.com hire: +49 151 58 54 78 50 home: http://rubyphunk.com ___ rspec-users mailing list rspec-users@rubyforge.org http