spec/click_spec.rb in watir-6.10.0 vs spec/click_spec.rb in watir-6.10.1

- old
+ new

@@ -1,19 +1,19 @@ -require 'watirspec_helper' - -describe Watir::Element do - describe "#click" do - before { - browser.goto WatirSpec.url_for('clicks.html') - } - - let(:clicker) { browser.element(id: "click-logger") } - let(:log) { browser.element(id: "log").ps.map { |e| e.text } } - - bug "https://github.com/watir/watir/issues/343", :webdriver do - it "clicks an element with text in nested text node using text selector" do - browser.element(text: "Can You Click This?").click - expect(browser.element(text: "You Clicked It!")).to exist - end - end - end -end +require 'watirspec_helper' + +describe Watir::Element do + describe "#click" do + before { + browser.goto WatirSpec.url_for('clicks.html') + } + + let(:clicker) { browser.element(id: "click-logger") } + let(:log) { browser.element(id: "log").ps.map { |e| e.text } } + + bug "https://github.com/watir/watir/issues/343", :webdriver do + it "clicks an element with text in nested text node using text selector" do + browser.element(text: "Can You Click This?").click + expect(browser.element(text: "You Clicked It!")).to exist + end + end + end +end