Sha256: 3aa8c22c22ff58417b23bef46fa4324d8a868dcbc027a90e886a3d6a8bf80c0a
Contents?: true
Size: 575 Bytes
Versions: 12
Compression:
Stored size: 575 Bytes
Contents
# encoding: utf-8 require File.dirname(__FILE__) + '/spec_helper' bug "WTR-334", :watir do describe "Meta" do before :each do browser.goto(WatirSpec.files + "/forms_with_input_elements.html") end describe "#exist?" do it "returns true if the meta tag exists" do browser.meta(:http_equiv, "Content-Type").should exist end end describe "content" do it "returns the content attribute of the tag" do browser.meta(:http_equiv, "Content-Type").content.should == "text/html; charset=utf-8" end end end end
Version data entries
12 entries across 12 versions & 1 rubygems