Sha256: d921d760822f6db09db9a126f038a4154f8742137d04b539b206fe8ba04b3738
Contents?: true
Size: 533 Bytes
Versions: 1
Compression:
Stored size: 533 Bytes
Contents
# encoding: utf-8 require File.expand_path('spec_helper', File.dirname(__FILE__)) 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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
watir-webdriver-0.0.7 | spec/watirspec/meta_spec.rb |