File: rsa.rb

package info (click to toggle)
ruby-simple-oauth 0.3.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 172 kB
  • sloc: ruby: 451; makefile: 4
file content (11 lines) | stat: -rw-r--r-- 244 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
module RSAHelpers
  PRIVATE_KEY_PATH = File.expand_path('../fixtures/rsa-private-key', __FILE__)

  def rsa_private_key
    @rsa_private_key ||= File.read(PRIVATE_KEY_PATH)
  end
end

RSpec.configure do |config|
  config.include RSAHelpers
end