Don't open blank pages in the browser (Path from Kyle Hargraves)

This commit is contained in:
Bryan Helmkamp 2008-07-20 21:54:13 -04:00
parent cfdd66784e
commit 580e6950b6
1 changed files with 1 additions and 1 deletions

View File

@ -261,7 +261,7 @@ module Webrat
session.send "#{method}", url, data || {}
if session.response_body =~ /Exception caught/ || session.response_body.blank?
if session.response_body =~ /Exception caught/
save_and_open
end