spec/spec_helper.rb in ruby_gpg-0.3.0 vs spec/spec_helper.rb in ruby_gpg-0.3.1
- old
+ new
@@ -1,9 +1,8 @@
$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'ruby_gpg'
-require 'spec'
-require 'spec/autorun'
+require 'rspec'
-Spec::Runner.configure do |config|
- config.mock_with :mocha
+RSpec.configure do |config|
+ config.mock_framework = :mocha
end