watir/assertions.rb in watir-1.5.3 vs watir/assertions.rb in watir-1.5.4
- old
+ new
@@ -8,10 +8,10 @@
# Log a failure if the boolean is true. The message is the failure
# message logged.
# Whether true or false, the assertion count is incremented.
def verify boolean, message = 'verify failed.'
add_assertion
- add_failure message, caller unless boolean
+ add_failure message.to_s, caller unless boolean
end
def verify_equal expected, actual, message=nil
full_message = build_message(message, <<EOT, expected, actual)
<?> expected but was
\ No newline at end of file