Rakefile in junoser-0.1.2 vs Rakefile in junoser-0.1.3

- old
+ new

@@ -1,9 +1,10 @@ require 'bundler/gem_tasks' require 'junoser/development' require 'nokogiri' require 'pathname' +require 'rake/testtask' xsd_path = File.expand_path('../tmp/junos-system.xsd', Pathname.new(__FILE__).realpath) rule_path = File.expand_path('../tmp/rule.rb', Pathname.new(__FILE__).realpath) parser_path = File.expand_path('../lib/junoser/parser.rb', Pathname.new(__FILE__).realpath) @@ -33,5 +34,13 @@ open_files(rule_path, parser_path) do |input, output| output.puts Junoser::Ruler.new(input).to_rule end end end + + +Rake::TestTask.new do |t| + t.verbose = true +end + +desc 'Run tests' +task default: :test