spec/spec_helper.rb in confstruct-1.0.2 vs spec/spec_helper.rb in confstruct-1.1.0
- old
+ new
@@ -1,19 +1,21 @@
$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'bundler/setup'
require 'rspec'
-require 'rspec/autorun'
require 'rubygems'
require 'confstruct'
require 'simplecov'
SimpleCov.start
RSpec.configure do |config|
-
+ config.expect_with :rspec do |expectations|
+ # our specs written a long time ago still use :should syntax
+ expectations.syntax = [:should, :expect]
+ end
end