Re: [rspec-users] beta 9

2010-06-02 Thread Lawrence Pit
I now see all the failures are due to all my controller specs always getting a response.body of type String with the value "RSpec-generated template" when I use the beta 9 version. Read the bit about controller specs and rendering views on http://github.com/rspec/rspec-rails. Thank

Re: [rspec-users] beta 9

2010-06-02 Thread David Chelimsky
On Jun 2, 2010, at 9:19 PM, Lawrence Pit wrote: > I now see all the failures are due to all my controller specs always getting > a response.body of type String with the value "RSpec-generated template" when > I use the beta 9 version. > > I'm on rails edge. > > Any idea where this string might

Re: [rspec-users] beta 9

2010-06-02 Thread Lawrence Pit
I now see all the failures are due to all my controller specs always getting a response.body of type String with the value "RSpec-generated template" when I use the beta 9 version. I'm on rails edge. Any idea where this string might originate from? Can't find it in the rspec nor in the rail

Re: [rspec-users] Rails 3 + RSpec-Rails 2.0 generators?

2010-06-02 Thread David Chelimsky
I'll take that to mean you got it working :) On Jun 2, 2010, at 8:13 PM, Brian Cardarella wrote: > Ah, duh :p > > On Jun 2, 9:03 pm, David Chelimsky wrote: >> On Jun 2, 2010, at 7:49 PM, Brian Cardarella wrote: >> >>> I followed the instructions on the wiki but I don't seem to have the >>> gen

Re: [rspec-users] Rails 3 + RSpec-Rails 2.0 generators?

2010-06-02 Thread Brian Cardarella
Ah, duh :p On Jun 2, 9:03 pm, David Chelimsky wrote: > On Jun 2, 2010, at 7:49 PM, Brian Cardarella wrote: > > > I followed the instructions on the wiki but I don't seem to have the > > generator: > > > rails g rspec:install > > > Are the generators not working? > > > btw, I don't see rspec liste

Re: [rspec-users] Rails 3 + RSpec-Rails 2.0 generators?

2010-06-02 Thread David Chelimsky
On Jun 2, 2010, at 7:49 PM, Brian Cardarella wrote: > I followed the instructions on the wiki but I don't seem to have the > generator: > > rails g rspec:install > > Are the generators not working? > > btw, I don't see rspec listed when I run 'rails generate' Did you add rspec-rails to your Ge

[rspec-users] Rails 3 + RSpec-Rails 2.0 generators?

2010-06-02 Thread Brian Cardarella
I followed the instructions on the wiki but I don't seem to have the generator: rails g rspec:install Are the generators not working? btw, I don't see rspec listed when I run 'rails generate' - Brian ___ rspec-users mailing list rspec-users@rubyforge.

Re: [rspec-users] beta 9

2010-06-02 Thread David Chelimsky
On Jun 2, 2010, at 5:57 PM, Lawrence Pit wrote: > Hi, > > I've been using rspec 2.0.0 beta 8 for a while. All specs pass. Installed > beta 9, and more than half fail. Am I the only one who's seeing this? Not > sure what to do to get it all passing using beta 9.. What failures are you seeing? P

[rspec-users] beta 9

2010-06-02 Thread Lawrence Pit
Hi, I've been using rspec 2.0.0 beta 8 for a while. All specs pass. Installed beta 9, and more than half fail. Am I the only one who's seeing this? Not sure what to do to get it all passing using beta 9.. Cheers, Lawrence ___ rspec-users mailing li

Re: [rspec-users] Programmatically counting RSpec tests?

2010-06-02 Thread David Chelimsky
On Jun 2, 2010, at 8:14 AM, John Feminella wrote: > On Wed, Jun 2, 2010 at 09:02, David Chelimsky wrote: >> On Jun 2, 2010, at 7:50 AM, John Feminella wrote: >> >>> If I have an object `obj` that is a SpecTask, and subsequently invoke >>> it, is there a way to programmatically determine the numb

Re: [rspec-users] Programmatically counting RSpec tests?

2010-06-02 Thread David Chelimsky
On Jun 2, 2010, at 8:23 AM, John Feminella wrote: > On Wed, Jun 2, 2010 at 09:19, David Chelimsky wrote: >> On Jun 2, 2010, at 8:14 AM, John Feminella wrote: >> >>> On Wed, Jun 2, 2010 at 09:02, David Chelimsky wrote: On Jun 2, 2010, at 7:50 AM, John Feminella wrote: > If I have a

Re: [rspec-users] Programmatically counting RSpec tests?

2010-06-02 Thread John Feminella
This looks pretty straightforward. I do wish it were possible to access the statistical data after the test rather than having to capture and process it inline via the formatter, but I think this will do. Thank you for your time, David. -- John Feminella Principal Consultant, Distilled Brilliance

Re: [rspec-users] Programmatically counting RSpec tests?

2010-06-02 Thread John Feminella
This is RSpec 1.3.0. -- John Feminella Principal Consultant, Distilled Brilliance On Wed, Jun 2, 2010 at 09:02, David Chelimsky wrote: > On Jun 2, 2010, at 7:50 AM, John Feminella wrote: > >> If I have an object `obj` that is a SpecTask, and subsequently invoke >> it, is there a way to programm

Re: [rspec-users] Programmatically counting RSpec tests?

2010-06-02 Thread David Chelimsky
On Jun 2, 2010, at 7:50 AM, John Feminella wrote: > If I have an object `obj` that is a SpecTask, and subsequently invoke > it, is there a way to programmatically determine the number of tests > that were successful, failed, and pending as a result of running that > SpecTask? You could write a cu

[rspec-users] Programmatically counting RSpec tests?

2010-06-02 Thread John Feminella
If I have an object `obj` that is a SpecTask, and subsequently invoke it, is there a way to programmatically determine the number of tests that were successful, failed, and pending as a result of running that SpecTask? -- John Feminella Principal Consultant, Distilled Brilliance ___