Rakefile in defra_ruby_mocks-1.3.0 vs Rakefile in defra_ruby_mocks-1.4.0
- old
+ new
@@ -23,16 +23,14 @@
Bundler::GemHelper.install_tasks
# This is wrapped to prevent an error when rake is called in environments where
# rspec may not be available, e.g. production. As such we don't need to handle
# the error.
-# rubocop:disable Lint/SuppressedException
begin
require "rspec/core/rake_task"
RSpec::Core::RakeTask.new(:spec)
task default: :spec
rescue LoadError
# no rspec available
end
-# rubocop:enable Lint/SuppressedException