spec/druid/elements/link_spec.rb in druid-ts-1.1.2 vs spec/druid/elements/link_spec.rb in druid-ts-1.1.3
- old
+ new
@@ -2,10 +2,10 @@
require 'druid/elements'
describe Druid::Elements::Link do
describe "when mapping how to find an element" do
it "should map watir types to same" do
- [:class, :href, :id, :name, :text, :xpath].each do |t|
+ [:class, :href, :id, :name, :text, :xpath, :css].each do |t|
identifier = Druid::Elements::Link.identifier_for t => 'value'
expect(identifier.keys.first).to eql t
end
end