mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-26 05:28:40 -05:00
17 lines
362 B
Ruby
17 lines
362 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'vmfloaty'
|
|
require 'webmock/rspec'
|
|
|
|
# Mock Commander Options object to allow pre-population with values
|
|
class MockOptions < Commander::Command::Options
|
|
def initialize(values = {})
|
|
@table = values
|
|
end
|
|
end
|
|
|
|
RSpec.configure do |config|
|
|
config.color = true
|
|
config.tty = true
|
|
config.formatter = :documentation
|
|
end
|