lib/nakal/dsl.rb in nakal-0.0.1 vs lib/nakal/dsl.rb in nakal-0.0.2
- old
+ new
@@ -8,10 +8,9 @@
current_screen = Nakal.current_platform::Screen.new("#{image_file_name}_current", :capture)
diff_screen, diff_metric = orignal_screen.compare(current_screen)
if diff_metric==0
current_screen.delete!
else
- p "difference = #{diff_metric}"
diff_screen.save
Nakal.diff_screens << image_file_name
embed_screenshots image_file_name if Nakal.embed_screenshot == true
end
diff_metric
\ No newline at end of file