Sha256: a157abf1bda27a503176b00eade0563f5ce6b90d61e1bb03ea56f358050f78f2
Contents?: true
Size: 423 Bytes
Versions: 8
Compression:
Stored size: 423 Bytes
Contents
require File.expand_path("../watirspec/spec_helper", __FILE__) describe "Browser" do describe "#credentials=" do it "sets the basic authentication credentials" do browser.goto(WatirSpec.host + "/authentication") browser.text.should_not include("ok") browser.credentials = "foo:bar" browser.goto(WatirSpec.host + "/authentication") browser.text.should include("ok") end end end
Version data entries
8 entries across 8 versions & 3 rubygems