spec/watirspec/attributes_spec.rb in watir-6.13.0 vs spec/watirspec/attributes_spec.rb in watir-6.14.0

- old
+ new

@@ -1,16 +1,16 @@ -require "watirspec_helper" +require 'watirspec_helper' -describe "Attributes" do +describe 'Attributes' do before :each do - browser.goto(WatirSpec.url_for("forms_with_input_elements.html")) + browser.goto(WatirSpec.url_for('forms_with_input_elements.html')) end - it "finds tab index" do - expect(browser.checkbox(tabindex: "4").tabindex).to eq 4 + it 'finds tab index' do + expect(browser.checkbox(tabindex: '4').tabindex).to eq 4 end - it "finds element with boolean" do + it 'finds element with boolean' do expect(browser.checkbox(tabindex: false).id).to eq 'toggle_button_checkbox' expect(browser.checkbox(tabindex: true).id).to eq 'new_user_interests_books' end end