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 = 10, max = 11) ⇒ Object



79
80
81
82
83
84
85
86
# File 'rake_modules/spec_helper.rb', line 79

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