spec/spec_helper.rb in ssn-0.3.0 vs spec/spec_helper.rb in ssn-1.0.0

- old
+ new

@@ -1,13 +1,17 @@ $LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) + require 'rubygems' require 'active_record' +require 'rails' +require 'bundler/setup' + require 'ssn' -require 'spec' -require 'spec/autorun' -Spec::Runner.configure do |config| +RSpec.configure do |config| + + config.mock_with :rspec end require File.dirname(__FILE__) + '/../script/environment'