support/doctest_helper.rb in watir-6.6.3 vs support/doctest_helper.rb in watir-6.7.0

- old
+ new

@@ -55,11 +55,21 @@ doctest.before(name) do browser.goto WatirSpec.url_for('drag_and_drop.html') end end - doctest.before('Watir::Element#attribute_value') do + %w[attribute_value attribute].each do |name| + doctest.before("Watir::Element##{name}") do + browser.goto WatirSpec.url_for('non_control_elements.html') + end + end + + doctest.before('Watir::List') do browser.goto WatirSpec.url_for('non_control_elements.html') + end + + doctest.before('Watir::Table') do + browser.goto WatirSpec.url_for('tables.html') end %w[inner_html outer_html html].each do |name| doctest.before("Watir::Element##{name}") do browser.goto WatirSpec.url_for('inner_outer.html')