vmfloaty/spec/spec_helper.rb
2019-02-03 12:22:41 +11:00

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