Sha256: 04f22fc4d9e7ca34b630250387ef4ac6a80670c9a0644c116ac60a4f9457f482
Contents?: true
Size: 370 Bytes
Versions: 15
Compression:
Stored size: 370 Bytes
Contents
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 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
Version data entries
15 entries across 15 versions & 2 rubygems