Rakefile in watir-webdriver-0.6.11 vs Rakefile in watir-webdriver-0.7.0

- old
+ new

@@ -18,14 +18,14 @@ spec.rspec_opts = "--format html --out #{ENV["SPEC_REPORT"] || "specs.html"}" spec.pattern = 'spec/**/*_spec.rb' end end -task :default => :spec +task :default => [:spec, 'yard:doctest'] namespace :html5 do - SPEC_URI = "http://www.whatwg.org/specs/web-apps/current-work/" + SPEC_URI = "https://www.whatwg.org/specs/web-apps/current-work/" SPEC_PATH = "support/html5.html" task :html_lib => :lib do require 'watir-webdriver/html' end @@ -87,9 +87,14 @@ require 'yard' YARD::Rake::YardocTask.new do |task| task.options = %w[--debug] # this is pretty slow, so nice with some output +end + +require 'yard-doctest' +YARD::Doctest::RakeTask.new do |task| + task.doctest_opts = ['-v'] end namespace :changes do task :differ do require './support/version_differ'