public void CorrectlyIdentifiesCodeBuildPresence()
        {
            environment.SetEnvironmentVariable(CodeBuild.HeadRefEnvironmentName, "a value");
            var cb = new CodeBuild(environment, log);

            cb.CanApplyToCurrentContext().ShouldBe(true);
        }
Esempio n. 2
0
 public void CorrectlyIdentifiesCodeBuildPresence()
 {
     environment.SetEnvironmentVariable(CodeBuild.EnvironmentVariableName, "a value");
     buildServer.CanApplyToCurrentContext().ShouldBe(true);
 }