Sha256: 6a1f7248a0f3485fd5f86ce3f59b7a5d3053946091b9863cc292378fa79cc485
Contents?: true
Size: 559 Bytes
Versions: 3
Compression:
Stored size: 559 Bytes
Contents
# frozen_string_literal: true ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", __FILE__) require "bundler/setup" require "minitest/autorun" require "minitest/utils" require "browser" require "browser/testing" require "yaml" module Minitest class Test setup do Browser::Bot.instance_variable_set("@detect_empty_ua", false) end def assert_deprecated(message, file, line, &block) message = "#{message} (called from #{file}:#{line})" _out, err = capture_io(&block) assert_includes err, message end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
browser-2.0.3 | test/test_helper.rb |
browser-2.0.2 | test/test_helper.rb |
browser-2.0.1 | test/test_helper.rb |