Sha256: e7b914a8e705e1edab4806fd18378f40046cb19b1fd481260752912a2117a9f4
Contents?: true
Size: 587 Bytes
Versions: 8
Compression:
Stored size: 587 Bytes
Contents
require 'spec_helper' require 'druid/elements' describe Druid::Elements::HiddenField do describe "when mapping how to find an element" do it "should map watir types to same" do [: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 end describe "interface" do it "should register with type :hidden" do expect(Druid::Elements.element_class_for(:input, :hidden)).to be Druid::Elements::HiddenField end end end
Version data entries
8 entries across 8 versions & 1 rubygems