spec/spec_helper.rb in simulacrum-0.1.1 vs spec/spec_helper.rb in simulacrum-0.3.0

- old
+ new

@@ -1,12 +1,17 @@ -if ENV['COVERAGE'] - require_relative 'use_coveralls' if ENV['TRAVIS'] - require_relative 'use_simplecov' unless ENV['TRAVIS'] -end - +# encoding: UTF-8 +require 'use_codeclimate' +require 'use_simplecov' require 'bundler/setup' -require 'Simulacrum' -require 'rspec/autorun' +require 'simulacrum' RSpec.configure do |config| - config.order = "random" + config.order = 'random' + + config.expect_with :rspec do |c| + c.syntax = :expect + end + + config.mock_with :rspec do |c| + c.syntax = :expect + end end