Permalink
Browse files

fixed error in "checked?" tests

  • Loading branch information...
1 parent 90e561b commit 2ad577fb0ca43852add6d2fc637eed235e2a19f7 @rb2k rb2k committed Jul 16, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/driver_spec.rb
View
@@ -119,7 +119,7 @@
<div id="invisible">Can't see me</div>
</div>
<input type="text" disabled="disabled"/>
- <input id="check_test" type="checkbox" checked="checked"/>
+ <input id="checktest" type="checkbox" checked="checked"/>
<script type="text/javascript">
document.write("<p id='greeting'>he" + "llo</p>");
</script>
@@ -255,7 +255,7 @@
end
it "reads checked property" do
- subject.find("//input[@id='check_test']").should be_checked
+ subject.find("//input[@id='checktest']").first.should be_checked
end
it "finds visible elements" do

0 comments on commit 2ad577f

Please sign in to comment.