Method: CapybaraScreenshotDiff::SnapManager#move

Defined in:
lib/capybara_screenshot_diff/snap_manager.rb

#move(new_screenshot_path, screenshot_path) ⇒ Object



56
57
58
# File 'lib/capybara_screenshot_diff/snap_manager.rb', line 56

def move(new_screenshot_path, screenshot_path)
  FileUtils.mv(new_screenshot_path, screenshot_path, force: true)
end