generators/rspec/templates/spec_helper.rb in howitzer-2.3.0 vs generators/rspec/templates/spec_helper.rb in howitzer-2.4.0
- old
+ new
@@ -30,11 +30,11 @@
config.after do
Howitzer::Cache.clear_all_ns
if CapybaraHelpers.cloud_driver?
session_end = CapybaraHelpers.duration(Time.now.utc - Howitzer::Cache.extract(:cloud, :start_time))
- Howitzer::Log.info "CLOUD VIDEO #{@session_start} - #{session_end}" \
- " URL: #{CapybaraHelpers.cloud_resource_path(:video)}"
+ Howitzer::Log.info "CLOUD VIDEO #{@session_start} - #{session_end} " \
+ "URL: #{CapybaraHelpers.cloud_resource_path(:video)}"
elsif CapybaraHelpers.ie_browser?
Howitzer::Log.info 'IE reset session'
Capybara.current_session.execute_script("void(document.execCommand('ClearAuthenticationCache', false));")
end
Capybara.reset_sessions!