mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 22:08:01 +08:00
DEV: Remove use of deprecated methods (#19486)
This commit is contained in:

committed by
GitHub

parent
98e3e90aa2
commit
4edeb7d9eb
@ -929,7 +929,7 @@ RSpec.describe Stylesheet::Manager do
|
||||
|
||||
after do
|
||||
path = Stylesheet::Manager.send(:manifest_full_path)
|
||||
File.delete(path) if File.exists?(path)
|
||||
File.delete(path) if File.exist?(path)
|
||||
end
|
||||
|
||||
it "returns a hash" do
|
||||
|
Reference in New Issue
Block a user