diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 4bf3092..a83c8fd 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -38,6 +38,6 @@ def make_site(options = {}) Jekyll::Site.new(config) end -def make_context(registers = {}) - Liquid::Context.new({}, {}, { site: site, page: page }.merge(registers)) +def make_context(registers = {}, environments: {}) + Liquid::Context.new(environments, {}, { site: site, page: page }.merge(registers)) end