features/support/env.rb in jekyll-diagrams-0.10.0 vs features/support/env.rb in jekyll-diagrams-0.11.0.pre
- old
+ new
@@ -2,12 +2,14 @@
lib = File.expand_path('../lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'simplecov'
+
require 'rspec'
require 'tmpdir'
+
require 'jekyll-diagrams'
TEST_DIR = File.join(Dir.tmpdir, 'jekyll-diagrams-features')
Before do
@@ -24,10 +26,11 @@
end
def run_jekyll
options = Jekyll.configuration(
source: TEST_DIR,
- quiet: true
+ quiet: true,
+ liquid: { error_mode: :strict }
)
Jekyll::Site.new(options).process
end