lib/generators/templates/cucumber/partials/appium_env.tt in ruby_raider-0.4.0 vs lib/generators/templates/cucumber/partials/appium_env.tt in ruby_raider-0.4.1

- old
+ new

@@ -1,13 +1,15 @@ require_relative '../../helpers/driver_helper' +include Raider::DriverHelper + Before do Raider::AllureHelper.configure - @driver = Raider::DriverHelper.new_driver - @driver.start_driver + new_driver + driver.start_driver end After do |scenario| - @driver.screenshot("allure-results/screenshots/#{scenario.name}.png") + driver.screenshot("allure-results/screenshots/#{scenario.name}.png") Raider::AllureHelper.add_screenshot(scenario.name) - @driver.quit_driver -end + driver.quit_driver +end \ No newline at end of file