Skip to content

Commit

Permalink
Un-pending spec that now works
Browse files Browse the repository at this point in the history
  • Loading branch information
brynary committed Nov 27, 2008
1 parent 8a4a7a3 commit 1d5ec1a
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions spec/api/locators/field_with_id_spec.rb
Expand Up @@ -3,16 +3,14 @@

describe "field_with_id" do
it "should work when there is a single quote in the ID" do
pending "needs bug fix" do
with_html <<-HTML
<html>
<form>
<input type="text" id="user's name">
</form>
</html>
HTML

field_with_id("user's name").id.should == "user's name"
end
with_html <<-HTML
<html>
<form>
<input type="text" id="user's name">
</form>
</html>
HTML

field_with_id("user's name").id.should == "user's name"
end
end

0 comments on commit 1d5ec1a

Please sign in to comment.