[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

rspec logging

aidy

6/6/2008 10:53:00 AM

Hi,

I am trying to find some output logging in the Rspec API

As 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
puts "pass" unless ui.does_the_html_include?(@text)== 0 #regex
browser.back
end
end
</code>

Or am I structuring this wrong?

Regards

Aidy