Пример #1
0
        public void Should_Use_Executable_From_Tool_Path_If_Provided(string toolPath, string expected)
        {
            // Given
            var fixture = new VagrantFixture(r => r.Up())
            {
                Settings = { ToolPath = toolPath }
            };

            fixture.GivenSettingsToolPathExist();
            var result = fixture.Run();

            result.Path.FullPath.Should().Be(expected);
        }