Sha256: 1904e154a906b3025b5e0f9758ab350f4e9bcc058917338c046ca0dd9a585624

Contents?: true

Size: 520 Bytes

Versions: 4

Compression:

Stored size: 520 Bytes

Contents

unless defined? Bundler
  require 'rubygems'
  require 'bundler'
  Bundler.setup
end

$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'regrit'
require 'rspec'

module TestPrivateKey
  def private_key
    Pathname.new('spec/id_rsa').read
  end

  def wrong_private_key
    Pathname.new('spec/wrong_key').read
  end

  def private_key_path
    Pathname.new('spec/id_rsa').to_s
  end
end

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
regrit-0.2.1 spec/spec_helper.rb
regrit-0.2.0 spec/spec_helper.rb
regrit-0.1.0 spec/spec_helper.rb
regrit-0.0.6 spec/spec_helper.rb