Welcome to mirror list, hosted at ThFree Co, Russian Federation.

eq_pem.rb « matchers « support « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 158281e4a19ee885a0008175486329122e9c04ae (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

RSpec::Matchers.define :eq_pem do |expected_pem_string|
  match do |actual|
    actual.to_pem == expected_pem_string
  end

  description do
    "contain pem #{expected_pem_string}"
  end
end