Re: [rspec-users] Display Rspec output in an html file

2009-11-09 Thread Matt Wynne
On 10 Nov 2009, at 06:46, Amit Kulkarni wrote: Yes i get an error message as rake aborted. spec/models/survey_spec.rb" --format html:result.html failed Have you looked in the survey_spec.rb file to see if there's a problem then? Does the 'error message' give you a line number to look at?

Re: [rspec-users] Display Rspec output in an html file

2009-11-09 Thread Amit Kulkarni
Yes i get an error message as rake aborted. spec/models/survey_spec.rb" --format html:result.html failed -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] describe "RSpec's documentation" do

2009-11-09 Thread Matt Wynne
On 6 Nov 2009, at 12:49, David Chelimsky wrote: In the long run, what I'd like is the following: * Cucumber features that ship with RSpec become the authoritative end-user documentation. This is something that anybody can contribute to with patches, as it's all in files that ship with RS

Re: [rspec-users] Display Rspec output in an html file

2009-11-09 Thread Matt Wynne
On 9 Nov 2009, at 11:13, Amit Kulkarni wrote: Hello, I had written some model scenarios. Now i want to generate that output in an html file. i am executing the models using rake i.e. rake spec:models from spec directory. But the html file is not getting generated. Following is the error trace:

Re: [rspec-users] [BDD] View specs and cucumber -- duplication of effort?

2009-11-09 Thread Matt Wynne
On 4 Nov 2009, at 15:56, Andrew Premdas wrote: 2009/10/29 nruth Hi Guys I'm going to put the cat amongst the pigeons here in the hope of some clarity falling out of the sky on me. My question is this: In a world with Cucumber what is the value of view specs? In the community (railscamp, for

Re: [rspec-users] [BDD] View specs and cucumber -- duplication of effort?

2009-11-09 Thread Raimond Garcia
IMHO steps can test everything that view specs can test, but in a much faster and will less effort. You don't have to build a huge feature to test a complex view, you can just split it into different scenarios. In the profile example of a social site, you could have a scenario for friend, one for

Re: [rspec-users] Display Rspec output in an html file

2009-11-09 Thread Amit Kulkarni
My spec.opts file contains --colour --format html:spec/a.html --loadby mtime --reverse -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

[rspec-users] Display Rspec output in an html file

2009-11-09 Thread Amit Kulkarni
Hello, I had written some model scenarios. Now i want to generate that output in an html file. i am executing the models using rake i.e. rake spec:models from spec directory. But the html file is not getting generated. Following is the error trace: ** Invoke spec:models (first_time) ** Invoke db:t