Sha256: 390e6d4c4821e75375467809d01ee04711115b9d492df37f71b69855780c6759
Contents?: true
Size: 566 Bytes
Versions: 9
Compression:
Stored size: 566 Bytes
Contents
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) # Require library up front require 'opsworks/cli' require 'fabrication' RSpec.configure do |config| config.before do allow(AWS::OpsWorks::Client).to receive(:new) { double.as_null_object } allow(AWS).to receive(:config) begin require 'aws-keychain-util/credential_provider' allow(AwsKeychainUtil::CredentialProvider).to receive(:new) do double.as_null_object end rescue LoadError nil end end end
Version data entries
9 entries across 9 versions & 1 rubygems