Rename Config::PATH to Config::DEFAULT_PATH

This commit is contained in:
Sijawusz Pur Rahnama 2023-03-06 05:47:30 +01:00
parent 9534104942
commit 749da0984c
3 changed files with 6 additions and 6 deletions

View file

@ -20,7 +20,7 @@ module Ameba
describe Formatter::TODOFormatter do
::Spec.after_each do
FileUtils.rm_rf(Ameba::Config::PATH)
FileUtils.rm_rf(Ameba::Config::DEFAULT_PATH)
end
context "problems not found" do
@ -45,7 +45,7 @@ module Ameba
s = Source.new "a = 1", "source.cr"
s.add_issue DummyRule.new, {1, 2}, "message"
formatter.finished([s])
io.to_s.should contain "Created #{Config::PATH}"
io.to_s.should contain "Created #{Config::DEFAULT_PATH}"
end
end