docs/cookbook/screenshots.md in wayfarer-0.4.1 vs docs/cookbook/screenshots.md in wayfarer-0.4.2

- old
+ new

@@ -4,11 +4,11 @@ === "Ferrum" ```ruby class DummyJob < Wayfarer::Base - route.to :index + route { to :index } def index browser.screenshot(path: "screenshot.png") end end @@ -16,10 +16,10 @@ === "Selenium" ```ruby class DummyJob < Wayfarer::Base - route.to :index + route { to :index } def index browser.save_screenshot("screenshot.png") end end