Sha256: 8b805d1c8ad152399358cb807d58ca327e29b50ca0853636a05a2fe8763b2370
Contents?: true
Size: 418 Bytes
Versions: 5
Compression:
Stored size: 418 Bytes
Contents
require File.dirname(__FILE__) + '/watirspec/spec_helper' 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
5 entries across 5 versions & 3 rubygems