Skip to content

Commit b994324

Browse files
committed
chore: after do deleting the environment variables when log_base_dir testing
1 parent 2781a70 commit b994324

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/test_app.rb

+4
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,10 @@ def initialize(formatter)
144144
ENV.delete("ROBY_ADD_APP_NAME_TO_BASE_LOG_DIR")
145145
app.log.delete("dir")
146146
end
147+
after do
148+
ENV.delete("ROBY_APP_DIR")
149+
ENV.delete("ROBY_ADD_APP_NAME_TO_BASE_LOG_DIR")
150+
end
147151
it "it uses log[dir] when no ENV variable is set and log is set" do
148152
app.log["dir"] = "strawberry"
149153
log_base_dir = app.log_base_dir

0 commit comments

Comments
 (0)