Rake task to run stories?

Hi,

Shouldn’t there be a rake task in rails to run the stories?
and shouldn’t rake spec run the stories as well?

Right now it seems I run all my specs via rake spec, but then have to
run the stories by ruby
stories/all.rb

Am I missing something?

BTW using stories for rails integration testing seems to work very
nicely, thank you!

On Jul 10, 2:59 pm, Jim M. [email protected] wrote:

Hi,

Shouldn’t there be a rake task in rails to run the stories?

There is one, but it needs a tweak. It uses the ruby method instead of
sh, so you only get output if it fails. I’ll get that fixed.

and shouldn’t rake spec run the stories as well?

No. Stories and specs are not the same thing. But, if you feel
differently, then you can always do this in your rake file:

task :spec => :stories

Cheers,
David