public void CorrectlyIdentifiesCodeBuildPresence() { environment.SetEnvironmentVariable(CodeBuild.HeadRefEnvironmentName, "a value"); var cb = new CodeBuild(environment, log); cb.CanApplyToCurrentContext().ShouldBe(true); }
public void CorrectlyIdentifiesCodeBuildPresence() { environment.SetEnvironmentVariable(CodeBuild.EnvironmentVariableName, "a value"); buildServer.CanApplyToCurrentContext().ShouldBe(true); }