mirror of
https://github.com/discourse/discourse.git
synced 2025-06-02 16:29:32 +08:00
DEV: Update rubocop-discourse (#9270)
Includes: * DEV: Use `eq_time` matcher
This commit is contained in:
@ -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"
|
||||
|
Reference in New Issue
Block a user