lib/calabash-android/wait_helpers.rb in calabash-android-0.9.17 vs lib/calabash-android/wait_helpers.rb in calabash-android-0.9.18
- old
+ new
@@ -61,10 +61,10 @@
FileUtils.rm_f(path)
return res
else
begin
embed(path, 'image/png', msg)
- rescue => NoMethodError
+ rescue NoMethodError
attach(path, 'image/png')
end
raise wait_error(msg)
end