Sha256: e13b8a8ff41c0222231e60db0914a2e49c0e3a2b5d8b752f70a1cf0f8f075748
Contents?: true
Size: 553 Bytes
Versions: 2
Compression:
Stored size: 553 Bytes
Contents
require 'spec_helper' describe Druid::Elements::Italic do let(:italic) { Druid::Elements::Italic} describe "when mapping how to find an element" do it "should map watir types to same" do [:class, :id, :idenx, :name, :xpath, :css].each do |t| identifier = italic.identifier_for t => 'value' expect(identifier.keys.first).to eql t end end end describe "interface" do it "should register with tag :i" do expect(Druid::Elements.element_class_for(:i)).to eql Druid::Elements::Italic end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
druid-ts-1.2.2 | spec/druid/elements/itatic_spec.rb |
druid-ts-1.2.1 | spec/druid/elements/itatic_spec.rb |