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