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: 69ea6eb4df870e1966d943e6bc58b7957ae3c1b3 (plain)
1
2
3
4
5
6
7
8
9
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