Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
gesellix committed Apr 23, 2022
1 parent 24e983b commit c1f0508
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ class DockerPluginSpec extends Specification {
def "configuration is passed to tasks"() {
given:
project.apply plugin: 'de.gesellix.docker'
project.docker.dockerHost = "http://example.org:2375"
project.docker.dockerHost = "https://example.org:2376"
project.docker.certPath = 'foo'
project.docker.authConfig = new AuthConfig(username: "plain example")

when:
def task = project.tasks.create("testTask", TestTask)

then:
task.dockerHost.get() == "http://example.org:2375"
task.dockerHost.get() == "https://example.org:2376"
task.certPath.get() == project.file('foo').absolutePath
task.authConfig.get().username == "plain example"
}
Expand Down

0 comments on commit c1f0508

Please sign in to comment.