lib/capybara/screenshot/diff/drivers/utils.rb in capybara-screenshot-diff-1.6.2 vs lib/capybara/screenshot/diff/drivers/utils.rb in capybara-screenshot-diff-1.6.3

- old
+ new

@@ -16,9 +16,16 @@ rescue LoadError # chunky_png not present end result end + + def self.detect_test_framework_assert + require "minitest" + ::Minitest::Assertion + rescue + ::RuntimeError + end end end end end