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