Sha256: 2e4256fec2d8e46d62d175b8a387f78e3fd83560731240ac11094dcb6dfe7414
Contents?: true
Size: 469 Bytes
Versions: 8
Compression:
Stored size: 469 Bytes
Contents
# encoding: utf-8 require File.expand_path("../watirspec/spec_helper", __FILE__) describe "Link" do before :each do browser.goto(WatirSpec.files + "/non_control_elements.html") end describe "absolute_url" do it "returns the absolute URL for a link with a relative href attribute" do browser.link(:index, Celerity.index_offset + 1).absolute_url.should include("#{WatirSpec.files}/non_control_elements.html".gsub("file://", '')) end end end
Version data entries
8 entries across 8 versions & 3 rubygems