Sha256: cf517e2227fdaf7bfbe3c2024e0912ce775ff8c0be546fae59be44323b9ccff7
Contents?: true
Size: 551 Bytes
Versions: 4
Compression:
Stored size: 551 Bytes
Contents
require 'spec_helper' require 'druid/elements' describe Druid::Elements::Span do describe "when mapping how to find an element" do it "should map watir types to same" do [:class, :id, :index, :xpath, :text].each do |t| identifier = Druid::Elements::Span.identifier_for t => 'value' expect(identifier.keys.first).to eql t end end end describe "interface" do it "should register with tag_name :span" do expect(Druid::Elements.element_class_for(:span)).to be Druid::Elements::Span end end end
Version data entries
4 entries across 4 versions & 1 rubygems