eq_pem.rb « matchers « support « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
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