DEV: Update rubocop-discourse (#9270)

Includes:
* DEV: Use `eq_time` matcher
This commit is contained in:
Jarek Radosz
2020-03-26 16:32:41 +01:00
committed by GitHub
parent ef3d6d6580
commit d21d80198c
9 changed files with 25 additions and 24 deletions

View File

@ -32,7 +32,7 @@ module Autospec
end
# launch rspec
Dir.chdir(Rails.root) do # rubocop:disable DiscourseCops/NoChdir because this is not part of the app
Dir.chdir(Rails.root) do # rubocop:disable Discourse/NoChdir because this is not part of the app
env = { "RAILS_ENV" => "test" }
if specs.split(' ').any? { |s| s =~ /^(.\/)?plugins/ }
env["LOAD_PLUGINS"] = "1"