test/helper.rb in nanoc3-3.2.0 vs test/helper.rb in nanoc3-3.2.1
- old
+ new
@@ -99,9 +99,16 @@
yield Nanoc3::Site.new('.')
end
end
def setup
+ # Check skipped
+ if ENV['skip']
+ if ENV['skip'].split(',').include?(self.class.to_s)
+ skip 'manually skipped'
+ end
+ end
+
# Clean up
GC.start
# Go quiet
unless ENV['QUIET'] == 'false'