Sha256: 879265d5b31bd1ad5486bfcc00fc7e1977918c17a99892314b2c79f2be95fd19
Contents?: true
Size: 568 Bytes
Versions: 3
Compression:
Stored size: 568 Bytes
Contents
require 'spec_helper' require 'druid/elements' describe Druid::Elements::Bold do let(:bold) { Druid::Elements::Bold} 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 = bold.identifier_for t => 'value' expect(identifier.keys.first).to eql t end end end describe "interface" do it "should register with tag :b" do expect(Druid::Elements.element_class_for(:b)).to eql Druid::Elements::Bold end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
druid-ts-1.2.2 | spec/druid/elements/bold_spec.rb |
druid-ts-1.2.1 | spec/druid/elements/bold_spec.rb |
druid-ts-1.2.0 | spec/druid/elements/bold_spec.rb |