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