Sha256: 83d5a89d30b28dae638eea012f2c870e3c53fb1c4959ce5f2990625a82c46396
Contents?: true
Size: 1.02 KB
Versions: 1
Compression:
Stored size: 1.02 KB
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' HammerCLIForeman.stubs(:resource_config).returns({ :apidoc_cache_dir => 'test/unit/data/' + (ENV['TEST_API_VERSION'] || '1.4'), :apidoc_cache_name => 'foreman_api', :dry_run => true}) require 'hammer_cli_foreman' def ctx { :adapter => :silent , :username => 'admin', :password => 'admin', :interactive => false } end require File.join(File.dirname(__FILE__), 'test_output_adapter') require File.join(File.dirname(__FILE__), 'apipie_resource_mock') require File.join(File.dirname(__FILE__), 'helpers/command') require File.join(File.dirname(__FILE__), 'helpers/resource_disabled') HammerCLI::Settings.load({:_params => {:interactive => false}})
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hammer_cli_foreman-0.1.0 | test/unit/test_helper.rb |