Sha256: d8aee3d199f7150f9cf0120a6485797b66fe0fd1f3743259bbb39ee5d6164ce3

Contents?: true

Size: 526 Bytes

Versions: 1

Compression:

Stored size: 526 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 'spec'

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

Spec::Runner.configure do |config|
  config.include TestPrivateKey
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
regrit-0.0.5 spec/spec_helper.rb