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

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