Sha256: 93f44c580ec67f20a7973b618aa377198eecf50dc6c787641756fbf9f817b90f

Contents?: true

Size: 344 Bytes

Versions: 2

Compression:

Stored size: 344 Bytes

Contents

# encoding: utf-8
require File.expand_path("watirspec/spec_helper", File.dirname(__FILE__))

describe "Link" do
  before do
    browser.goto(WatirSpec.url_for("non_control_elements.html"))
  end

  context "#exists?" do
    it "finds link by a name" do
      expect(browser.a(:name => "bad_attribute")).to exist
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
watir-classic-4.3.0 spec/link_spec.rb
watir-classic-4.2.0 spec/link_spec.rb