@@ -23,7 +23,7 @@ class JRubyJarSpec extends Specification {
23
23
}
24
24
}
25
25
26
- def " jrubyVersion should be configurable in a Gradle conventional way" () {
26
+ void " jrubyVersion should be configurable in a Gradle conventional way" () {
27
27
given :
28
28
final String version = ' 1.7.20'
29
29
@@ -35,7 +35,7 @@ class JRubyJarSpec extends Specification {
35
35
task. jrubyVersion == version
36
36
}
37
37
38
- def " jrubyMainsVersion should be configurable in a Gradle conventional way" () {
38
+ void " jrubyMainsVersion should be configurable in a Gradle conventional way" () {
39
39
given :
40
40
final String version = ' 0.4.1.'
41
41
@@ -47,15 +47,15 @@ class JRubyJarSpec extends Specification {
47
47
task. jrubyMainsVersion == version
48
48
}
49
49
50
- def " configuration should default to 'jrubyJar'" () {
50
+ void " configuration should default to 'jrubyJar'" () {
51
51
given :
52
52
JRubyJar task = project. task(' spock-jar' , type : JRubyJar )
53
53
54
54
expect :
55
55
task. configuration == ' jrubyJar'
56
56
}
57
57
58
- def " configuration should be configurable in a Gradle conventional way" () {
58
+ void " configuration should be configurable in a Gradle conventional way" () {
59
59
given :
60
60
final String customConfig = ' spockConfig'
61
61
@@ -68,7 +68,7 @@ class JRubyJarSpec extends Specification {
68
68
}
69
69
70
70
@Issue (' https://github.com/jruby-gradle/jruby-gradle-plugin/issues/202' )
71
- def " defaults 'gems' should log an error" () {
71
+ void " defaults 'gems' should log an error" () {
72
72
given :
73
73
boolean evaluated = false
74
74
JRubyJar task = project. task(' spock-jar' , type : JRubyJar )
@@ -83,9 +83,8 @@ class JRubyJarSpec extends Specification {
83
83
evaluated
84
84
}
85
85
86
-
87
86
@Issue (' https://github.com/jruby-gradle/jruby-gradle-plugin/issues/169' )
88
- def " configuration should be configurable with a Configuration object" () {
87
+ void " configuration should be configurable with a Configuration object" () {
89
88
given : ' a configuration'
90
89
project. with {
91
90
configurations {
@@ -103,7 +102,7 @@ class JRubyJarSpec extends Specification {
103
102
task. configuration == customConfig. name
104
103
}
105
104
106
- def "configure library ()" () {
105
+ void "configure library ()" () {
107
106
given: 'a task with initScript library()'
108
107
boolean evaluated = false
109
108
JRubyJar task = project.task('library-jar', type: JRubyJar)
0 commit comments