class Inspec::OrTest
def initialize(tests)
def initialize(tests) @tests = tests end
def skip
def skip nil end
def to_hash
def to_hash { describe_one: @tests.map(&:to_hash) } end
def to_ruby
def to_ruby all_tests = @tests.map(&:to_ruby).join("\n").gsub("\n", "\n ") format("describe.one do\n %s\nend", all_tests) end