File: github_metadata_spec.rb

package info (click to toggle)
ruby-jekyll-github-metadata 2.15.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 712 kB
  • sloc: ruby: 2,355; javascript: 107; sh: 41; makefile: 6
file content (17 lines) | stat: -rw-r--r-- 417 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# frozen_string_literal: true

require "spec_helper"

RSpec.describe(Jekyll::GitHubMetadata) do
  let(:key_value_pair) { %w(some_key some_value) }

  it "has a global GitHub API client" do
    expect(described_class.client).to be_a(Jekyll::GitHubMetadata::Client)
  end

  it "does auto_paginate" do
    expect(
      described_class.client.instance_variable_get(:"@client").auto_paginate
    ).to be(true)
  end
end