Un-pending spec that now works

This commit is contained in:
Bryan Helmkamp 2008-11-27 00:27:13 -05:00
parent 8a4a7a328f
commit 1d5ec1aff9
1 changed files with 9 additions and 11 deletions

View File

@ -3,16 +3,14 @@ require File.expand_path(File.dirname(__FILE__) + "/../../spec_helper")
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