lib/minitest/utils.rb in minitest-utils-0.4.0 vs lib/minitest/utils.rb in minitest-utils-0.4.1

- old
+ new

@@ -8,15 +8,19 @@ load_lib = lambda do |path, &block| begin require path block.call if block + true rescue LoadError - return + false end end - load_lib.call "mocha/mini_test" + unless load_lib.call "mocha/minitest" + load_lib.call "mocha/mini_test" + end + load_lib.call "capybara" load_lib.call "webmock" do require "minitest/utils/setup/webmock" end