test/test_helper.rb in jekyll-toc-0.1.1 vs test/test_helper.rb in jekyll-toc-0.2.0
- old
+ new
@@ -1,7 +1,7 @@
-require "codeclimate-test-reporter"
-CodeClimate::TestReporter.start
+require 'simplecov'
+SimpleCov.start
require 'jekyll'
require 'minitest/autorun'
SIMPLE_HTML = <<EOL
@@ -14,8 +14,8 @@
EOL
module TestHelpers
def read_html_and_create_parser
@parser = Jekyll::TableOfContents::Parser.new(SIMPLE_HTML)
- assert_match /Simple H1/, @parser.doc.inner_html
+ assert_match(/Simple H1/, @parser.doc.inner_html)
end
end