Sha256: 76f00b43fd213f1354172fcd058d68aff956f843f3a8a4ec4d0b104e2960c5b4
Contents?: true
Size: 423 Bytes
Versions: 2
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
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
celerity-0.9.1 | spec/browser_authentication_spec.rb |
no-click-exception-celerity-0.9.0 | spec/browser_authentication_spec.rb |