Skip to content

Commit

Permalink
fixed error in "checked?" tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rb2k committed Jul 16, 2011
1 parent 90e561b commit 2ad577f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/driver_spec.rb
Expand Up @@ -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>
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2ad577f

Please sign in to comment.