Sha256: 24a98c9b86a04236a285d2300e2a962d88ff40b987e4bc569a6e3af02691eeec

Contents?: true

Size: 469 Bytes

Versions: 1

Compression:

Stored size: 469 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 'git-ssh-wrapper'
require 'rspec'
require 'open4'

module TestPrivateKey
  def private_key
    private_key_path.read
  end

  def private_key_path
    Pathname.new('spec/test_key').realpath
  end
end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
git-ssh-wrapper-0.1.0 spec/spec_helper.rb