Class: WMFConfig

Inherits:
Object show all
Defined in:
rake_modules/spec_helper.rb

Overview

Helper class for on_supported_os

Class Method Summary collapse

Class Method Details

.test_on(min = 8, max = 10) ⇒ Object



70
71
72
73
74
75
76
77
# File 'rake_modules/spec_helper.rb', line 70

def self.test_on(min = 8, max = 10)
  {
    supported_os: [
      'operatingsystem' => 'Debian',
      'operatingsystemrelease' => (min.to_i..max.to_i).step(1).to_a.map(&:to_s),
    ]
  }
end