Sha256: e650041cf3f0f47694d2386b340ad0e20c4cf5ff3d28acaf93e93ff154e03b36

Contents?: true

Size: 647 Bytes

Versions: 2

Compression:

Stored size: 647 Bytes

Contents

require 'simplecov'
require 'pathname'

SimpleCov.use_merging true
SimpleCov.start do
  command_name 'MiniTest'
  add_filter 'test'
end
SimpleCov.root Pathname.new(File.dirname(__FILE__) + "../../../")


require 'minitest/autorun'
require 'minitest/spec'
require "minitest-spec-context"
require "mocha/setup"

require 'hammer_cli'
require 'hammer_cli_foreman/commands'

FOREMAN_VERSION = Gem::Version.new(ENV['TEST_API_VERSION'] || '1.10')

HammerCLIForeman.stubs(:resource_config).returns({
  :apidoc_cache_dir => 'test/unit/data/' + FOREMAN_VERSION.to_s,
  :apidoc_cache_name => 'foreman_api',
  :dry_run => true})

require 'hammer_cli_foreman'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hammer_cli_foreman-0.5.1 test/test_helper.rb
hammer_cli_foreman-0.5.0 test/test_helper.rb