Module: TrainPlugins::TestFixture::Platform

Included in:
Connection
Defined in:
lib/train-test-fixture/platform.rb

Instance Method Summary collapse

Instance Method Details

#platformObject



6
7
8
9
10
11
12
13
14
15
# File 'lib/train-test-fixture/platform.rb', line 6

def platform
  # Build this platform's family declarations.
  # You'll need at least unix and windows to make the file() resource work.
  Train::Platforms.name('test-fixture').in_family('unix')
  Train::Platforms.name('test-fixture').in_family('windows')
  force_platform!('test-fixture',
    release: TrainPlugins::TestFixture::VERSION,
    arch: 'mock',
  )
end