@@ -30,8 +30,9 @@ import spock.lang.Issue
30
30
31
31
/**
32
32
* @author Schalk W. Cronjé.
33
+ * @author Guillaume Grossetie
33
34
*/
34
- @IgnoreIf ({System .getProperty( ' TESTS_ARE_OFFLINE ' ) })
35
+ @IgnoreIf ({ IntegrationSpecification . OFFLINE })
35
36
class JRubyPrepareGemsIntegrationSpec extends IntegrationSpecification {
36
37
37
38
static final String DEFAULT_TASK_NAME = ' jrubyPrepare'
@@ -54,7 +55,6 @@ class JRubyPrepareGemsIntegrationSpec extends IntegrationSpecification {
54
55
new File (projectDir, " gems/slim-${ slimVersion} " ). exists()
55
56
}
56
57
57
- @IgnoreIf ({ IntegrationSpecification .OFFLINE })
58
58
void " Check if rack version gets resolved" () {
59
59
setup :
60
60
withPreamble """ repositories.ruby.gems()
@@ -76,7 +76,6 @@ class JRubyPrepareGemsIntegrationSpec extends IntegrationSpecification {
76
76
new File (projectDir, " gems/rack-1.6.12" ). exists()
77
77
}
78
78
79
- @IgnoreIf ({ IntegrationSpecification .OFFLINE })
80
79
void " Check if selenium-webdriver version gets resolved" () {
81
80
setup :
82
81
withPreamble """ repositories.ruby.gems()
@@ -97,7 +96,6 @@ class JRubyPrepareGemsIntegrationSpec extends IntegrationSpecification {
97
96
new File (projectDir, " gems/selenium-webdriver-3.142.6" ). exists()
98
97
}
99
98
100
- @IgnoreIf ({ IntegrationSpecification .OFFLINE })
101
99
void " Check that GEM dependencies are locked" () {
102
100
setup :
103
101
File lockFile = new File (projectDir, ' gradle/dependency-locks/gems.lockfile' )
@@ -139,7 +137,6 @@ rubygems:tilt:2.0.9
139
137
new File (projectDir, " gems/rack-1.6.10" ). exists()
140
138
}
141
139
142
- @IgnoreIf ({ IntegrationSpecification .OFFLINE })
143
140
void " Check if prerelease gem gets resolved" () {
144
141
setup :
145
142
withDefaultRepositories()
@@ -156,7 +153,6 @@ rubygems:tilt:2.0.9
156
153
}
157
154
158
155
@Issue (' https://github.com/jruby-gradle/jruby-gradle-plugin/issues/341' )
159
- @IgnoreIf ({ IntegrationSpecification .OFFLINE })
160
156
void " Make an install-time gem dependency available" () {
161
157
setup :
162
158
withRubyGemsRepository()
0 commit comments