spec/spec_helper.rb in cf-uaa-lib-3.14.3 vs spec/spec_helper.rb in cf-uaa-lib-3.14.4
- old
+ new
@@ -20,6 +20,12 @@
SimpleCov.add_filter "^#{File.dirname(__FILE__)}" if ENV['COVERAGE'] =~ /exclude-spec/
SimpleCov.add_filter "^#{File.expand_path(File.join(File.dirname(__FILE__), "..", "vendor"))}" if ENV['COVERAGE'] =~ /exclude-vendor/
SimpleCov.start
end
-require 'rspec'
\ No newline at end of file
+require 'rspec'
+
+RSpec.configure do |config|
+ config.expect_with :rspec do |expectations|
+ expectations.syntax = [:expect, :should]
+ end
+end