Re: [rspec-users] Missing method implementation_backtrace

2008-11-21 Thread David Chelimsky
On Thu, Nov 20, 2008 at 5:47 PM, rubyphunk <[EMAIL PROTECTED]> wrote: > Hi, > > same problem here. I always used "example.implementation_backtrace" in > a custom formatter to find out to which spec file a passing example > belongs to. > Is there another way to get the file path? Looking through th

Re: [rspec-users] Missing method implementation_backtrace

2008-11-21 Thread David Chelimsky
On Thu, Nov 20, 2008 at 9:20 PM, David Chelimsky <[EMAIL PROTECTED]> wrote: > On Thu, Nov 20, 2008 at 5:47 PM, rubyphunk <[EMAIL PROTECTED]> wrote: >> Hi, >> >> same problem here. I always used "example.implementation_backtrace" in >> a custom formatter to find out to which spec file a passing exam

[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

[rspec-users] Backtrace for passing specs

2008-11-21 Thread rubyphunk
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] Cucumber: Group Given, Whens and Thens

2008-11-21 Thread Andrew Premdas
DOH I thinks convention = I think this convention 2008/11/21 Andrew Premdas <[EMAIL PROTECTED]>: > Interesting ... so this establishes a convention to use in features > that all Givens are written in the past tense and all whens in the > present tense. > > I think its quite important as your featu

[rspec-users] restful_authentication's "permission_denied" and rspec

2008-11-21 Thread Ramon Tayag
Hi everyone, WIth restful_authentication you get a method "permission_denied" that you just slap onto the controller when you don't want a user to gain access to something. In this method Rails does a bunch of stuff then basically tries to be smart and redirects the user somewhere else. I want t