Sha256: 15a933ca94c26a33635c3f527765ad01a02b34c8149fbe697e4efea24d261c98
Contents?: true
Size: 368 Bytes
Versions: 60
Compression:
Stored size: 368 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
60 entries across 60 versions & 23 rubygems