mirror of
https://github.com/samsonjs/simple_oauth.git
synced 2026-03-25 08:45:54 +00:00
11 lines
240 B
Ruby
11 lines
240 B
Ruby
module RSAHelpers
|
|
PRIVATE_KEY_PATH = File.expand_path("fixtures/rsa-private-key", __dir__)
|
|
|
|
def rsa_private_key
|
|
@rsa_private_key ||= File.read(PRIVATE_KEY_PATH)
|
|
end
|
|
end
|
|
|
|
RSpec.configure do |config|
|
|
config.include RSAHelpers
|
|
end
|