Fixed syntax error if test fails.

This commit is contained in:
Martin Edenhofer 2013-06-25 14:24:39 +02:00
parent 7ada8cbec4
commit 949686a369

View file

@ -201,7 +201,7 @@ class TestCase < Test::Unit::TestCase
return return
end end
} }
assert( false, "(#{test[:name]}) not matching '#{action[:value]}' in cookie '#{cookie.to_s}'" ) assert( false, "(#{test[:name]}) not matching '#{action[:value]}' in cookie '#{cookies.to_s}'" )
return return
elsif action[:element] == :alert elsif action[:element] == :alert
element = instance.switch_to.alert element = instance.switch_to.alert