Hi,

I am using the 'spec/story' module with Fire(Watir).

Is there additional logging?

I don't want to do this:

<code>
  Then "the resultant links are displayed with the search text in each
description" do
    browser.links.each do |lnk|
      if lnk.id =~ /programmeLink/
        lnk.click
        sleep 0.5
        puts "pass" unless ui.does_the_html_include?(@text)== 0 #regex
        browser.back
      end
  end
 </code>

Or am I structuring this wrong? Is it one "Then" per verification
point? Problem with that is I have a dynamic number of verification
points.

Regards

Aidy

-- 
Aidy
www.agiletester.co.uk
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to