generators/cucumber/templates/env.rb in howitzer-1.0.2 vs generators/cucumber/templates/env.rb in howitzer-1.1.0
- old
+ new
@@ -12,11 +12,11 @@
if sauce_driver?
Capybara.drivers[:sauce][].options[:desired_capabilities][:name] = Capybara::Settings.suite_name
end
Before do |scenario|
- log.print_feature_name(scenario.feature.title)
+ log.print_feature_name(scenario.feature.name)
log.print_scenario_name(scenario.name)
@session_start = duration(Time.now.utc - DataStorage.extract('sauce', :start_time))
end
After do |scenario|
@@ -34,6 +34,6 @@
at_exit do
if sauce_driver?
log.info "SAUCE SERVER LOG URL: #{Capybara::Settings.sauce_resource_path('selenium-server.log')}"
Capybara::Settings.update_sauce_job_status(passed: DataStorage.extract('sauce', :status))
end
-end
\ No newline at end of file
+end