lib/lookout/rack/test/rake/cucumber.rake in lookout-rack-test-2.0.0 vs lib/lookout/rack/test/rake/cucumber.rake in lookout-rack-test-2.0.1
- old
+ new
@@ -1,9 +1,9 @@
require 'cucumber/rake/task'
require 'ci/reporter/rake/cucumber'
# parallel_tests is somewhat pointless/nonfunctional on JRuby
-unless RUBY_VERSION == 'java'
+unless RUBY_PLATFORM == 'java'
require 'parallel_tests/tasks'
end
namespace :cucumber do
Cucumber::Rake::Task.new(:api) do |t|