Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

delete pointless test

  • Loading branch information...
commit 938d28a7bb6beae857aebc055a1f90a7a23676c9 1 parent 61cd54a
@jarmo jarmo authored
Showing with 0 additions and 29 deletions.
  1. +0 −29 commonwatir/unittests/inspect_test.rb
View
29 commonwatir/unittests/inspect_test.rb
@@ -1,29 +0,0 @@
-$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..') unless $SETUP_LOADED
-require 'unittests/setup'
-
-class TC_Inspect < Test::Unit::TestCase
- location __FILE__
-
- def setup
- uses_page "emphasis.html"
- end
-
- def test_inspect_only_returns_url_and_title
- assert_match(%r{#<#{browser.class}:0x[0-9a-f.]+ url="file://.+/emphasis\.html" title="emphasis">}, browser.inspect)
- end
-
- def test_element_inspect
- assert_match(%r%^#<.+::Em:0x[0-9a-f.]+ located=false specifiers=\{:tag_name=>\["em"\], :id=>/em-one/\}>$%, browser.em(:id, /em-one/).inspect)
-
- located = browser.em(:id, "em-one")
- located.exists?
-
- assert_match(%r%^#<.+::Em:0x[0-9a-f.]+ located=true specifiers=\{:tag_name=>\["em"\], :id=>"em-one"\}>$%, located.inspect)
- end
-
- def test_element_collections_inspect
- assert_match(%r{#<.+::EmCollection:0x[0-9a-f.]+ length=3 container=.+>$}, browser.ems.inspect)
- end
-
-end
-
Please sign in to comment.
Something went wrong with that request. Please try again.