Class
Mechanize::TestCase
In:
lib/mechanize/test_case.rb
Parent:
MiniTest::Unit::TestCase
Methods
fake_page
have_encoding?
html_page
in_tmpdir
node
page
requests
setup
ssl_certificate
ssl_private_key
tempfile
Constants
TEST_DIR
=
File.expand_path '../../../test', __FILE__
REQUESTS
=
[]
Public Instance methods
fake_page
(agent = @mech)
have_encoding?
()
html_page
(body)
in_tmpdir
() {|| ...}
node
(element, attributes = {})
page
(uri, content_type = 'text/html', body = '', code = 200)
requests
()
setup
()
ssl_certificate
()
ssl_private_key
()
tempfile
(content)
[Validate]