Sha256: 54e3fa88526ea73be7fbb2ba3a15b8dfe17c48ccf83f1df451e468ff7341fe3a
Contents?: true
Size: 310 Bytes
Versions: 19
Compression:
Stored size: 310 Bytes
Contents
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
19 entries across 19 versions & 2 rubygems