spec/spec_helper.rb in git-ssh-wrapper-0.0.1 vs spec/spec_helper.rb in git-ssh-wrapper-0.1.0
- old
+ new
@@ -5,11 +5,11 @@
end
$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'git-ssh-wrapper'
-require 'spec'
+require 'rspec'
require 'open4'
module TestPrivateKey
def private_key
private_key_path.read
@@ -18,8 +18,8 @@
def private_key_path
Pathname.new('spec/test_key').realpath
end
end
-Spec::Runner.configure do |config|
+RSpec.configure do |config|
config.include TestPrivateKey
end