features/support/env.rb in jekyll-diagrams-0.9.3 vs features/support/env.rb in jekyll-diagrams-0.10.0
- old
+ new
@@ -1,17 +1,12 @@
# frozen_string_literal: true
lib = File.expand_path('../lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
-# Don't use coveralls in Github Actions
-unless ENV['GITHUB_ACTIONS']
- require 'coveralls'
- Coveralls.wear!
-end
-
-require 'minitest'
+require 'simplecov'
+require 'rspec'
require 'tmpdir'
require 'jekyll-diagrams'
TEST_DIR = File.join(Dir.tmpdir, 'jekyll-diagrams-features')
@@ -29,11 +24,10 @@
end
def run_jekyll
options = Jekyll.configuration(
source: TEST_DIR,
- quiet: true,
- liquid: { 'error_mode' => 'strict' }
+ quiet: true
)
Jekyll::Site.new(options).process
end