Sha256: eae44f8742112eb21d09f6c4ecc3d17f0c042170bbbeae8ec5207dc3469363ba

Contents?: true

Size: 657 Bytes

Versions: 1

Compression:

Stored size: 657 Bytes

Contents

# frozen_string_literal: true

require 'bundler/setup'

require 'simplecov'
require 'pry-byebug'

require 'jekyll-diagrams'

RSpec.configure do |config|
  # Enable flags like --only-failures and --next-failure
  config.example_status_persistence_file_path = '.rspec_status'

  # Disable RSpec exposing methods globally on `Module` and `main`
  config.disable_monkey_patching!

  config.expect_with :rspec do |c|
    c.syntax = :expect
  end
end

def context_with_config(config = {})
  config = {
    quiet: true
  }.merge(config)

  Liquid::Context.new(
    {}, {}, {
      page: {},
      site: Jekyll::Site.new(Jekyll.configuration(config))
    }
  )
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-diagrams-0.11.0.pre spec/spec_helper.rb