What file is that in? I was looking for one in trunk earlier.

JD
On Dec 19, 2007, at 5:07 PM, Ben Mabey wrote:

> Ben Mabey wrote:
>> James Deville wrote:
>>
>>> What's the status on a rake task for the story runner. If nothing is
>>> in progress, where could I start to try and build one?
>>>
>>> JD
>>> _______________________________________________
>>> rspec-users mailing list
>>> rspec-users@rubyforge.org
>>> http://rubyforge.org/mailman/listinfo/rspec-users
>>>
>>>
>>
>> If you check out rspec trunk you can see that they have created one  
>> for
>> the rspec project.  It just runs the all.rb file in the stories  
>> directory.
>>
>> -Ben
>> _______________________________________________
>> rspec-users mailing list
>> rspec-users@rubyforge.org
>> http://rubyforge.org/mailman/listinfo/rspec-users
>>
> This is the actual task they are using:
>
> desc "Run all stories"
> task :stories do
>  html = 'story_server/prototype/rspec_stories.html'
>  ruby "stories/all.rb --colour --format plain --format html:#{html}"
>  unless IO.read(html) =~ /<span class="param">/m
>    raise 'highlighted parameters are broken in story HTML'
>  end
> end
> _______________________________________________
> rspec-users mailing list
> rspec-users@rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users

_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to