test/helper.rb in nanoc-4.7.10 vs test/helper.rb in nanoc-4.7.11
- old
+ new
@@ -31,15 +31,9 @@
def disable_nokogiri?
ENV.key?('DISABLE_NOKOGIRI')
end
- def skip_v8_on_ruby24
- if ENV.key?('DISABLE_V8')
- skip 'V8 specs are disabled (broken on Ruby 2.4)'
- end
- end
-
def if_have(*libs)
libs.each do |lib|
if defined?(RUBY_ENGINE) && RUBY_ENGINE == 'jruby' && lib == 'nokogiri' && disable_nokogiri?
skip 'Pure Java Nokogiri has issues that cause problems with nanoc (see https://github.com/nanoc/nanoc/pull/422) -- run without DISABLE_NOKOGIRI to enable Nokogiri tests'
end