Sha256: 1c258a04dd61f0260fc90443e6357869eb4c75bed2da5742bc9753e22aa8f84e
Contents?: true
Size: 410 Bytes
Versions: 9
Compression:
Stored size: 410 Bytes
Contents
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..') unless $SETUP_LOADED require 'unittests/setup' class TC_Browser < Test::Unit::TestCase location __FILE__ def setup uses_page "utf8.html" # could be any page really end def test_status_returns_window_status browser.execute_script "window.status = 'All done!'" assert_match /done/i, browser.status end end
Version data entries
9 entries across 9 versions & 1 rubygems