Skip to content

Commit

Permalink
Remove duplicate test case
Browse files Browse the repository at this point in the history
  • Loading branch information
Larusso committed Jul 16, 2019
1 parent 7686a34 commit f55a464
Showing 1 changed file with 0 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,37 +60,4 @@ class PaketBaseIntegrationSpec extends PaketIntegrationBaseSpec {
where:
taskToRun = LifecycleBasePlugin.CLEAN_TASK_NAME
}

def "paketBootstrap is [UP-TO-DATE] when paket version is still the same"() {
given: "a paket dependency file"
createFile("paket.dependencies")

and: "a empty lock file"
createFile("paket.lock")

and: "a first run of #taskToRun"
cleanupPaketDirectory()
runTasksSuccessfully(taskToRun)

when: "running a second time without changes"
def result = runTasksSuccessfully(taskToRun)

then: "bootstrap task was [UP-TO-DATE]"
result.wasUpToDate(bootstrapTaskName)

when: "delete bootstrapper"
def paketDir = new File(projectDir, '.paket')
def paketBootstrap = new File(paketDir, bootstrapperFileName)
paketBootstrap.delete()

and: "run the task again"
def result2 = runTasksSuccessfully(taskToRun)

then:
result2.wasUpToDate(bootstrapTaskName)

where:
taskToRun = "paketBootstrap"
}

}

0 comments on commit f55a464

Please sign in to comment.