spec/druid/elements/hidden_field_spec.rb in druid-ts-1.1.3 vs spec/druid/elements/hidden_field_spec.rb in druid-ts-1.1.4
- old
+ new
@@ -7,14 +7,9 @@
[:class, :id, :index, :name, :xpath, :value].each do |t|
identifier = Druid::Elements::HiddenField.identifier_for t => 'value'
expect(identifier.keys.first).to eql t
end
end
-
- it "should map selenium types to watir" do
- identifier = Druid::Elements::HiddenField.identifier_for :css => 'value'
- expect(identifier.keys.first).to eql :tag_name
- end
end
describe "interface" do
it "should register with type :hidden" do
expect(Druid::Elements.element_class_for(:input, :hidden)).to be Druid::Elements::HiddenField