assert File.exists?(Path.join([@dir, "frontends", "pleroma", "fantasy", "test.txt"]))
end
assert File.exists?(Path.join([@dir, "frontends", "pleroma", "fantasy", "test.txt"]))
end
File.write!(previously_existing, "yey")
assert File.exists?(previously_existing)
File.write!(previously_existing, "yey")
assert File.exists?(previously_existing)
assert File.exists?(Path.join([folder, "test.txt"]))
refute File.exists?(previously_existing)
assert File.exists?(Path.join([folder, "test.txt"]))
refute File.exists?(previously_existing)
- capture_io(fn ->
- Frontend.install("unknown",
- ref: "baka",
- build_url: "http://gensokyo.2hu/madeup.zip",
- build_dir: ""
- )
- end)
+ Frontend.install("unknown",
+ ref: "baka",
+ build_url: "http://gensokyo.2hu/madeup.zip",
+ build_dir: ""
+ )
assert File.exists?(Path.join([@dir, "frontends", "unknown", "baka", "test.txt"]))
end
assert File.exists?(Path.join([@dir, "frontends", "unknown", "baka", "test.txt"]))
end