lib/minitest/utils.rb in minitest-utils-0.3.1 vs lib/minitest/utils.rb in minitest-utils-0.4.0
- old
+ new
@@ -9,18 +9,15 @@
load_lib = lambda do |path, &block|
begin
require path
block.call if block
rescue LoadError
+ return
end
end
load_lib.call "mocha/mini_test"
load_lib.call "capybara"
-
- load_lib.call("capybara/poltergeist") do
- require "minitest/utils/setup/poltergeist"
- end
load_lib.call "webmock" do
require "minitest/utils/setup/webmock"
end