Sha256: ead6fc82b90c272ccf9398c5cb260aaed746be29f6539efb325328f03b8d2c19
Contents?: true
Size: 706 Bytes
Versions: 3
Compression:
Stored size: 706 Bytes
Contents
require File.dirname(__FILE__) + "/test_helper" unit_tests do test "url return the public url where the hub can be contacted" do hub = SeleniumGrid::AWS::Hub.new nil hub.public_dns = "public.dns" assert_equal "http://public.dns:4444", hub.url end test "private_url return the private url where the hub can be contacted" do hub = SeleniumGrid::AWS::Hub.new nil hub.private_dns = "private.dns" assert_equal "http://private.dns:4444", hub.private_url end test "console_url return the public url of the hub console" do hub = SeleniumGrid::AWS::Hub.new nil hub.public_dns = "public.dns" assert_equal "http://public.dns:4444/console", hub.console_url end end
Version data entries
3 entries across 3 versions & 3 rubygems