spec/spec_helper.rb in lita-2.7.2 vs spec/spec_helper.rb in lita-3.0.0

- old
+ new

@@ -6,6 +6,17 @@ ] SimpleCov.start { add_filter "/spec/" } require "pry" require "lita" +require "lita/cli" require "lita/rspec" + +RSpec.configure do |config| + config.mock_with :rspec do |mocks_config| + mocks_config.verify_doubled_constant_names = true + # Enable config option this when a new rspec-mocks beta including this patch is released: + # https://github.com/rspec/rspec-mocks/pull/466 + # + # mocks_config.verify_partial_doubles = true + end +end