vmfloaty/spec/spec_helper.rb
2017-10-12 12:53:04 -07:00

15 lines
331 B
Ruby

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