Sha256: cfdc807903a31b6f8f4f73d99ee9287632d7dd5c74744039bf6cab79456acd5a
Contents?: true
Size: 340 Bytes
Versions: 5
Compression:
Stored size: 340 Bytes
Contents
# frozen_string_literal: true require 'mechanize/test_case' class TestMechanizeRedirectLimitReachedError < Mechanize::TestCase def test_to_s page = fake_page error = Mechanize::ElementNotFoundError.new(page, :element, :conditions) assert_match(/element/, error.to_s) assert_match(/conditions/, error.to_s) end end
Version data entries
5 entries across 5 versions & 1 rubygems