Sha256: 3be4c88583ca1181a8b088f81c7139e2eeb2b2c4b613907b790e95fdf78d4890
Contents?: true
Size: 558 Bytes
Versions: 2
Compression:
Stored size: 558 Bytes
Contents
module Capybara module Chromedriver module Logger class TestHooks def self.after_example! collector = Capybara::Chromedriver::Logger::Collector.new collector.flush_and_check_errors! end def self.for_rspec! ::RSpec.configure do |config| %i[feature system].each do |type| config.after :each, type: type do Capybara::Chromedriver::Logger::TestHooks.after_example! end end end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
capybara-chromedriver-logger-0.3.0 | lib/capybara/chromedriver/logger/test_hooks.rb |
capybara-chromedriver-logger-0.2.1 | lib/capybara/chromedriver/logger/test_hooks.rb |