Sha256: dd705776d6bba71e2efcbc6eba7f4a0b0966ca0eaabd3c3d99a0781ca90bfc51
Contents?: true
Size: 516 Bytes
Versions: 5
Compression:
Stored size: 516 Bytes
Contents
# feature tests for navigation errors # revision: $Revision: 958 $ $LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..') if $0 == __FILE__ require 'unittests/setup' class TC_NavigateException < Test::Unit::TestCase include Watir def test_http_errors assert_raises(NavigationException) { $ie.goto('http://localhost:3001') } # Cannot find server or DNS Error assert_raises(NavigationException) { $ie.goto('http://www.fxruby.org/dfdf' ) } # HTTP 404 - File not found end end
Version data entries
5 entries across 5 versions & 1 rubygems