mirror of
https://github.com/inspec/inspec
synced 2024-11-26 14:40:26 +00:00
Merge pull request #4381 from inspec/zenspider/oops2
Moved the osx? guard below minitest/autorun.
This commit is contained in:
commit
33e912dd1b
1 changed files with 5 additions and 9 deletions
|
@ -23,13 +23,6 @@ if ENV["CI_ENABLE_COVERAGE"]
|
|||
end
|
||||
end
|
||||
|
||||
module Minitest::Guard
|
||||
# TODO: push up to minitest
|
||||
def osx?(platform = RUBY_PLATFORM)
|
||||
/darwin/ =~ platform
|
||||
end
|
||||
end
|
||||
|
||||
##
|
||||
#
|
||||
# Do not add any other code from here until the end of this code
|
||||
|
@ -163,6 +156,9 @@ class InspecTest < Minitest::Test
|
|||
# shared stuff here
|
||||
end
|
||||
|
||||
class ParallelTest < InspecTest
|
||||
parallelize_me!
|
||||
module Minitest::Guard
|
||||
# TODO: push up to minitest
|
||||
def osx?(platform = RUBY_PLATFORM)
|
||||
/darwin/ =~ platform
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue