Sha256: 355b940597d35b05c5008c0fb7df5b0edd3b6ae3942a866d700ec5186b5bba3f
Contents?: true
Size: 548 Bytes
Versions: 8
Compression:
Stored size: 548 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, :title].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
8 entries across 8 versions & 1 rubygems