diff --git a/core/src/test/groovy/com/novoda/gradle/release/TestBintrayUploadTask.groovy b/core/src/test/groovy/com/novoda/gradle/release/TestBintrayUploadTask.groovy index e133d78..864d70f 100644 --- a/core/src/test/groovy/com/novoda/gradle/release/TestBintrayUploadTask.groovy +++ b/core/src/test/groovy/com/novoda/gradle/release/TestBintrayUploadTask.groovy @@ -14,16 +14,11 @@ public class TestBintrayUploadTask { TaskOutcome success = TaskOutcome.SUCCESS List tasks = result.tasks(success) - List successfulTaskPaths = new ArrayList<>(); for (BuildTask task : tasks) { successfulTaskPaths.add(task.path) } -// List successfulTasks = tasks.collect { -// BuildTask buildTask = it -// String path = buildTask.path -// return path -// } + assert successfulTaskPaths.contains(":bintrayUpload") assert result.getOutput().contains("BUILD SUCCESSFUL") }