public async Task CreatesDirectory_WhenNoRepoExists() { RepoAssertions.DoesNotExist(_path, _method); bool ok = await _repo.InitAsync(); ok.Should().BeTrue($"{_method} should return true after the repo was created"); RepoAssertions.Exists(_path, _method); }
public async Task ReturnsTrue_WhenDirectoryExists() { bool ok = await _repo.InitAsync(); ok.Should().BeTrue(); _repo.Exists().Should().BeTrue(); }