Sha256: 5cc15d7ea8c84f75c82cb44ea9bef0c25554bd40aab92bfb0c08b138fade30df

Contents?: true

Size: 334 Bytes

Versions: 1

Compression:

Stored size: 334 Bytes

Contents

require File.expand_path('watirspec/spec_helper', File.dirname(__FILE__))

describe Watir::Input do

  before do
    browser.goto WatirSpec.url_for("forms_with_input_elements.html")
  end

  describe "#type" do
    it "returns an email type" do
      expect(browser.input(:name => "html5_email").type).to eq 'email'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
watir-webdriver-0.7.0 spec/input_spec.rb