Fixed syntax error if test fails.
This commit is contained in:
parent
7ada8cbec4
commit
949686a369
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ class TestCase < Test::Unit::TestCase
|
|||
return
|
||||
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
|
||||
elsif action[:element] == :alert
|
||||
element = instance.switch_to.alert
|
||||
|
|
Loading…
Reference in a new issue